lockedTurret: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \{\{GameCategory *\| *arma2 *\| *(New )?Scripting Commands\}\}" to "")
m (Text replacement - "\| *(arg|eff|mp|serverExec|gr[0-9]) *= *(.*) * *\|([^=0-9]{12})" to "|$1=$2 |descr=$3")
Line 15: Line 15:
|gr1= Turrets
|gr1= Turrets


| Check whether gunner position of the vehicle turret is locked.
|descr= Check whether gunner position of the vehicle turret is locked.


|s1=  vehicle '''lockedTurret''' turretPath
|s1=  vehicle '''lockedTurret''' turretPath

Revision as of 21:12, 13 June 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