User Tools

Site Tools


crpl:docs:getenemyunitsinrange

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:getenemyunitsinrange [2015/01/11 15:45] – Correction to code sample stewbasiccrpl:docs:getenemyunitsinrange [2021/02/05 11:44] (current) – Rmoved discussion tag Karsten75
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]]
 =====  GetEnemyUnitsInRange  ===== =====  GetEnemyUnitsInRange  =====
  
 ^Arguments^Result^Notation^ ^Arguments^Result^Notation^
-|Coordinates and range|Number of enemy units in range and their UID's|''i1 i2 f1 -- [l1 l2...]i3 ''|+|Coordinates and range|Number of enemy units in range and their UID's|''i1 i2 f1 -- l1 l2...ln n''|
  
  
 === Description === === Description ===
-Returns a list of unit UID's. Returns all enemy units in range (emitters, spore towers, cores).  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.+Pushes the UID'of all enemy units in range (emitters, spore towers, cores) onto the stack followed by the integer n, where n is the number of units
 === Examples === === Examples ===
 <code> <code>
crpl/docs/getenemyunitsinrange.1421009118.txt.gz · Last modified: 2015/01/11 15:45 by stewbasic