User Tools

Site Tools


crpl:docs:getunitcountinrange

<- CRPL reference <- Unit Commands

GetUnitCountInRange

ArgumentsResultNotation
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.

CurrentCoords 30 GetUnitCountInRange
crpl/docs/getunitcountinrange.txt · Last modified: 2021/02/05 11:43 by Karsten75