GetNumBuildings (Harvest)

From OxeyeWiki

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

getNumBuildings()

Returns the number of buildings currently ingame. This method does not count construction boxes.

Parameter Expected Type Description
Returns

Returns a number representing the amount of buildings in game.

Harvest Library

Example

print("Alive buildings: " .. harvest.getNumBuildings())

Resources

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox