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