setVehiclePosition

From Bohemia Interactive Community
Revision as of 21:42, 4 July 2006 by Planck (talk | contribs)
Jump to navigation Jump to search


object setVehiclePosition [position, markers, placement]


Operand types:

object: Object

[position, markers, placement]: Array

Type of returned value:

Nothing

Compatibility:

Version 2.32 required.

Description:

Changes the object position.

If the markers array contains more than one marker name, the position of a random one is used.

Otherwise, the given position is used.

The object is placed inside a circle with this position as its center and placement as its radius.


Example:

player setVehiclePosition [[0, 0, 0], ["Marker1"], 0]