SetBuildingEnabled (Harvest)

From OxeyeWiki

(Difference between revisions)
Jump to: navigation, search
166 MMX (Talk | contribs)
(Created page with '{{HarvestMethod | setBuildingEnabled(building, setting) | Changes whether a building should be buildable by the player or not. | {{MethodParam|building|String|The building name t...')
Newer edit →

Revision as of 23:06, 1 December 2009

{{HarvestMethod | setBuildingEnabled(building, setting) | Changes whether a building should be buildable by the player or not. | |building || String || The building name to enable or disable.} |setting || Boolean || Set a building being available or not. |-

|-

Example

harvest.setBuildingEnabled("SPARKPRODUCER", false)
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox