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