This is an old revision of the document!
~~DISCUSSION~~ <- CRPL reference <- Unit Commands
Arguments | Result | Notation |
---|---|---|
Coordinates, range, square? | Number of units in range | x1 y1 f1 b1 – [l1 l2…]i3 |
Returns a list of unit UID's. Returns all units (including player/enemy and flying/landed) that are within range. A list is returned. A list consists of some number of unit uids, with the number of items in the list being the item on the top of the stack.
If “square?” is set to TRUE, the command uses a square range instead of the usual circular one.
put example here