Arma 3 Scripting

Command in Turrets

turretUnit

Also available as Markdown and JSON, or read the original wiki page.

Description

Returns the unit in the vehicle turret. To find turret path of known unit, see unitTurret.

Syntax

vehicle turretUnit turretPath

Parameters:

Returns: Object

Examples

Example 1

_vehicle turretUnit _thisTurret;

Example 2

vehicle player turretUnit [0];

See also

unitTurret · driver · gunner · commander · effectiveCommander · currentPilot · moveInTurret · assignAsTurret · assignedVehicleRole · lockedTurret · isTurnedOut