vehicleName turretLocal turretPath

Operand types

vehicleName: Object
turretPath : Array

Type of returned value

Description

Checks if a turret is local.

Some info on turrets: A vehicle turret will change locality when player gunner gets in it, just like vehicle changes locality when player driver gets in it. Many commands for turrets work only where turret is local.
When gunner leaves turret it is supposed to change locality to the locality of the vehicle.

Returns Boolean or Nothing (nil) if the turret is non-existent.

Used In

Arma3

Example

_isLocal = vehicle player turretLocal [0];
Search OFPEC COMREF