~~NOTOC~~
<=[[4rpl:start| Index]]\\
<= [[4rpl:start#Unit]]
* [[4rpl:commands:getcelloccupiedcount|Get]]
* [[4rpl:commands:setcelloccupiedcount|Set]]
:!: Available in version 1.3 and later.
====== GetCellOccupiedCount======
GetCellOccupiedCount(<-cellX <-cellZ) ->count
===== Description =====
Gets the occupied count for a cell. The occupied count is the number of units that claim to be occupying the specified map cell. A value greater than 0 means the cell is occupied.
===== Examples =====
GetCellOccupiedCount(50 40) ->count
<=[[4rpl:start| Index]]