SetBuildingEnabled (Harvest)

From OxeyeWiki

Revision as of 16:16, 2 December 2009 by 166 MMX (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

setBuildingEnabled(building, setting)

Changes whether a building should be buildable by the player or not.

Parameter Expected Type Description
building String The building name to enable or disable.
setting Boolean Set a building being available or not.
Returns

Returns nothing.

Harvest Library

Example

harvest.setBuildingEnabled("SPARKPRODUCER", false)

Resources

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox