User Tools

Site Tools


crpl:docs:getunitcountinrange

Differences

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

Link to this comparison view

Next revision
Previous revision
crpl:docs:getunitcountinrange [2013/01/14 19:00] – created chanicrpl:docs:getunitcountinrange [2025/02/14 14:57] (current) – external edit 127.0.0.1
Line 1: Line 1:
-TODO+ 
 +<- [[crpl:crplreference| CRPL reference]] <- [[crpl:crplreference#unit_commands|Unit Commands]] 
 +=====  GetUnitCountInRange  ===== 
 + 
 +^Arguments^Result^Notation^ 
 +|X, Y coordinate, and Range (radius)|Unit Count |''x1 y1 n1 -- n2 ''
 + 
 + 
 +=== Description === 
 +The number of player units within range of the coordinates.  
 +Only landed units are counted. 
 +=== Examples === 
 +Gets the number of units in a radius of 30 around itself. 
 +<code>CurrentCoords 30 GetUnitCountInRange</code>  
crpl/docs/getunitcountinrange.1358190054.txt.gz · Last modified: 2025/02/14 14:56 (external edit)