This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
4rpl:commands:getunitsbytype [2020/08/02 16:11] – external edit 127.0.0.1 | 4rpl:commands:getunitsbytype [2025/02/14 14:57] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
~~NOTOC~~ | ~~NOTOC~~ | ||
+ | < | ||
- | ====== | + | ====== |
- | GetUnitsInRange(< | + | GetUnitsByType(< |
===== Description ===== | ===== Description ===== | ||
- | Returns list of units with a type of unitType.\\ | + | Returns |
- | builtState is an int (either 0,1,2). 0 = ignore built state. 1 = Only find units that are built. 2 = Only find units that are not built.\\ | + | |
+ | builtState is an int (either 0,1,2). 0 = ignore built state. 1 = Only find units that are built. 2 = Only find units that are not built. | ||
===== Examples ===== | ===== Examples ===== | ||
<code 4rpl> | <code 4rpl> | ||
- | GetUnitsByType(" | + | GetUnitsByType(" |
</ | </ | ||
+ | < | ||