<- CRPL reference <- Unit Commands
Arguments | Result | Notation |
---|---|---|
X,Y | Count of things occupying cell | x1 y1 - i1 |
Returns the count of things occupying the map cell. Whenever a unit lands it will increase the count by 1 for every cell it occupies (which is a 3×3 area for most units). Normally units do not stack, but in the event they are stacked the occupied count may be greater than 1.
GetCellOccupiedCount(10 10) ->unitCount