GetNumBuildings (Harvest)

From OxeyeWiki

(Difference between revisions)
Jump to: navigation, search
166 MMX (Talk | contribs)
(Created page with '{{HarvestMethod | getNumBuildings() | Returns the number of buildings currently ingame. This method does not count construction boxes. | | Returns a number representing the amoun...')

Latest revision as of 19:48, 2 December 2009

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