User Tools

Site Tools


crpl:docs:getunitsinrange

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:getunitsinrange [2014/12/17 22:51] – A list of n elements is different from n items on the stack. stewbasiccrpl:docs:getunitsinrange [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]]
 =====  GetUnitsInRange  ===== =====  GetUnitsInRange  =====
Line 9: Line 9:
 === Description === === Description ===
 Returns the unit UID's of all built player units that are landed and 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 built player units that are landed and within range.  The function pushes the n UID's onto the stack followed by the integer n, where n is the number of units.
 +
 +Note: This command will also detect Tech Artifacts, Message Artifacts, Power Zones and Shield Keys.
  
 === Examples === === Examples ===
crpl/docs/getunitsinrange.1418856684.txt.gz · Last modified: 2025/02/14 14:56 (external edit)