User Tools

Site Tools


crpl:docs:getcelloccupiedcount

This is an old revision of the document!


~~DISCUSSION~~ <- CRPL reference <- Unit Commands

GetCellOccupiedCount

Arguments Result Notation
X,YCount of things occupying cellx1 y1 - i1

Description

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
crpl/docs/getcelloccupiedcount.1392230288.txt.gz · Last modified: 2025/02/14 14:56 (external edit)