GetNumBuildings (Harvest)
From OxeyeWiki
(Difference between revisions)
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...')
(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. | ||
Example
print("Alive buildings: " .. harvest.getNumBuildings())