This is an old revision of the document!
⇐ Index
GetUnitCount(<-unitType) ->unitCount
Returns a count of the number of units of the specified type. See Unit Types for a list of strings. The count includes both built and unbuilt units.
Print(GetUnitCount("sniper"))
⇐ Index