User Tools

Site Tools


crpl:docs:getallunitsinrange

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
crpl:docs:getallunitsinrange [2018/05/02 00:49] – add example Grabzcrpl:docs:getallunitsinrange [2025/02/14 14:57] (current) – external edit 127.0.0.1
Line 1: Line 1:
-~~DISCUSSION~~+
 <- [[crpl:crplreference| CRPL reference]] <- [[crpl:crplreference#unit_commands|Unit Commands]] <- [[crpl:crplreference| CRPL reference]] <- [[crpl:crplreference#unit_commands|Unit Commands]]
 =====  GetAllUnitsInRange  ===== =====  GetAllUnitsInRange  =====
 +(or GAUIR)
  
 ^Arguments^Result^Notation^ ^Arguments^Result^Notation^
Line 8: Line 9:
  
 === Description === === Description ===
 +
 Returns the unit UID's of all units (including player/enemy and flying/landed) that are within range.  The function pushes the n UID's onto the stack followed by the integer n, where n is the number of units. Returns the unit UID's of all units (including player/enemy and flying/landed) that are within range.  The function pushes the n UID's onto the stack followed by the integer n, where n is the number of units.
  
crpl/docs/getallunitsinrange.1525222169.txt.gz · Last modified: 2025/02/14 14:56 (external edit)