User Tools

Site Tools


crpl:docs:showmessage

This is an old revision of the document!


~~DISCUSSION~~ <- CRPL reference <- Unit Commands

GetUnitsInRange

ArgumentsResultNotation
Coordinates and rangeNumber of units in range i1 i2 f1 – [l1 l2…]i3

Description

Returns a list of unit UID's. Returns all built player units that are landed and 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.

Examples

CurrentCoords 15 GetUnitsInRange
0 do
   ->unit
   <-unit trace
loop
crpl/docs/showmessage.1366572328.txt.gz · Last modified: 2014/10/01 15:02 (external edit)