<- [[crpl:crplreference| CRPL reference]] <- [[crpl:crplreference#unit_commands|Unit Commands]] ===== GetCellOccupiedCount ===== ^ Arguments ^ Result ^ Notation ^ |X,Y|Count of things occupying cell|%%x1 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 3x3 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