ArcBasicDocs

MoveEntity

Moves an entity relative to its orientation.

MoveEntity ( entity,x#,y#,z# )

Parameters

entity
the entity's handle.
x#
how far to move it to its right (negative for left).
y#
how far up, from its own point of view.
z#
how far forward (negative for back).

Description

Moves an entity the way it is facing. MoveEntity player, 0, 0, 1 moves it one unit forward, whichever way it has turned: the natural way to move people, cars and ships.

See also