~~NOTOC~~
<=[[4rpl:start| Index]]
* [[4rpl:commands:getunitmovecell|Get]]
* [[4rpl:commands:setunitmovecell|Set]]
:!: Available in version 1.3 and later.
====== SetUnitMoveCell ======
SetUnitMoveCell(<-unit <-cellX <-cellZ)
===== Description =====
Sets the move cell for a unit. A unit must be set to movable (by the player), otherwise this call has no effect. When called, the unit's move ghost will be positioned at the specified coordinates.
===== Examples =====
SetUnitMoveCell(self 50 40)
<=[[4rpl:start| Index]]