~~NOTOC~~ <=[[4rpl:start| Index]] * [[4rpl:commands:getunitmovecell|Get]] * [[4rpl:commands:setunitmovecell|Set]] :!: Available in version 1.3 and later. ====== GetUnitMoveCell ====== GetUnitMoveCell(<-unit) ->cellZ ->cellX ===== Description ===== Gets the cell coordinates of a unit's move location. If the unit is not moving, -1,-1 is returned. ===== Examples ===== GetUnitMoveCell(self) ->cellZ ->cellX traceAllSP(<-cellX <-cellZ) <=[[4rpl:start| Index]]