lockedTurret: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "(\| * )+\}\}" to "}}")
m (Text replacement - " {3,}\|" to " |")
Line 18: Line 18:


| [[Boolean]]
| [[Boolean]]


|x1= <code>_locked = tank [[lockedTurret]] [0];</code>
|x1= <code>_locked = tank [[lockedTurret]] [0];</code>


| [[lockTurret]], [[moveInTurret]], [[turretUnit]]
| [[lockTurret]], [[moveInTurret]], [[turretUnit]]

Revision as of 17:38, 18 January 2021

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: Array -
Return Value:
Boolean

Examples

Example 1:
_locked = tank lockedTurret [0];

Additional Information

See also:
lockTurretmoveInTurretturretUnit

Notes

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