This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
4rpl:commands:getunitcount [2021/01/08 16:01] – external edit 127.0.0.1 | 4rpl:commands:getunitcount [2025/02/14 14:57] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 6: | Line 6: | ||
===== Description ===== | ===== Description ===== | ||
- | Returns a count of the number of units of the specified type. See [[GetUnitCanBuild]] for a list of strings. | + | 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. | The count includes both built and unbuilt units. | ||
+ | Take note: This only works for player buildable units such as cannons, towers or airships. | ||
===== Examples ===== | ===== Examples ===== | ||
<code 4rpl> | <code 4rpl> |