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