User Tools

Site Tools


4rpl:commands:getunitcount

This is an old revision of the document!


Index

GetUnitCount

GetUnitCount(<-unitType) ->unitCount

Description

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.

Examples

   Print(GetUnitCount("sniper"))

Index

4rpl/commands/getunitcount.1612295083.txt.gz · Last modified: 2025/02/14 14:56 (external edit)