User Tools

Site Tools


4rpl:commands:setunitcell

Index

SetUnitCell

SetUnitCell(<-UID <-cellX <-cellZ <-snapToTerrain)

Description

Sets the 2D map position of a unit. The arguments are unit uid, the X and Z positions on the map, and whether the unit should be move to the terrain height at the target location.

Examples

SetUnitCell(<-UID <-posX <-posZ true)

Index

4rpl/commands/setunitcell.txt · Last modified: 2021/09/15 11:08 by Grabz