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 revision Previous revision
crpl:docs:getenemyunitsinrange [2015/01/11 15:45]
stewbasic Correction to code sample
crpl:docs:getenemyunitsinrange [2020/05/30 20:20] (current)
Sanian Fixed notation to be consistent with GetUnitsInRange and other GetUnit functions
Line 4: Line 4:
  
 ^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'​s ​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.txt ยท Last modified: 2020/05/30 20:20 by Sanian