lockedTurret: Difference between revisions

From Bohemia Interactive Community
m (Some wiki formatting)
mNo edit summary
 
Line 21: Line 21:
|p1= vehicle: [[Object]]
|p1= vehicle: [[Object]]


|p2= turretPath: [[Array]] format [[Turret Path]]
|p2= turretPath: [[Turret Path]]


|r1= [[Boolean]]
|r1= [[Boolean]]

Latest revision as of 07:49, 2 January 2026

Hover & click on the images for description

Description

Description:
Check whether gunner position of the vehicle turret is locked.
Groups:
Turrets

Syntax

Syntax:
vehicle lockedTurret turretPath
Parameters:
vehicle: Object
turretPath: Turret Path
Return Value:
Boolean

Examples

Example 1:
_locked = tank lockedTurret [0];

Additional Information

See also:
lockTurret moveInTurret turretUnit

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord.
Only post proven facts here! Add Note