<- PRPL reference <- Everything Else 2
Arguments | Result | Notation |
---|---|---|
CellX CellY Range Shape | List | [ i1 i2 f1 i3 - L1] |
Provides a list of all units within Range of the specified cell. Shape of 0 will search in a circle, 1 will search in a square. (A box search may be more efficient. )
Changed from CRPL - This command returns a list in PRPL. CRPL GetAllUnitsInRange returned a pile of loose UIDs and a count.
#Suppose that there is an energy pod at (10,15) and another at (15,15)... 10 10 6 0 GetAllUnitsInRange Trace #The list will contain the UID of the pod at (10,15) 10 10 6 1 GetAllUnitsInRange Trace #The list will contain the UIDs of both pods 0 0 9999 1 GetAllUnitsInRange Trace #The list will contain the UIDs of every pod on the map.