User Tools

Site Tools


4rpl:commands:setunitmovecell

Index

:!: 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)

Index

4rpl/commands/setunitmovecell.txt · Last modified: 2022/03/21 16:47 by durikkan