object - player


void SetBuildingTypeRecyclePercent(int nBuildingType, int nPercent)

Scope: public

Parameters
nBuildingType - type of building to set recycle percent (see enums in mission object).
nPercent - percent of value of this building given to player when this building is sold.

Return values
none

Description
[MP]
If nBuildingType == -1 then this function sets nPercent for all building types.
Ff nPercent == 0 then building can't be sold.
If building have HP smaller then maximal then player get smaller CR proportional to HP.

See also