object setVehiclePosition [position, markers, placement]

Operand types

object: Object
[position, markers, placement]: Array

Type of returned value

Description

Changes the vehicle 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 vehicle is placed inside a circle with this position as its center and placement as its radius.

Used In

ArmA

Example

player setVehiclePosition [[0, 0, 0], ["Marker1"], 0]
Search OFPEC COMREF