Warning: file_put_contents(/ff_a47122bcd6eff77fb48217c269809df7c58312d90e8477c2.php): failed to open stream: Permission denied in /home/ofpecsav/public_html/forum/Sources/Subs-ForumFirewall.php on line 1619
moveInTurret - OFPEC Scripting Command Reference | OFPEC The Editing Center

unitName moveInTurret [vehicle, turret path]

Operand types

unitName: Object
[vehicle, turret path]: Array

Type of returned value

Description

Moves the soldier into the vehicle's turret. (Immediately, without animation).

turret path is an array of positions inside a turret, or positions inside a turret of a turret.

[0,0] means first turret of first turret.
[1,0] means second turret of first turret.
[0,1] means first turret of the second turret.
[0,2] means first turret of third turret.
[1] means second turret (without turrets in that turret).

And so on ...

Used In

ArmA

Example

soldierOne moveInTurret [tank, [0, 0]]

Advertisement