lockTurret: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(locality, see also)
Line 5: Line 5:


|1.00|= Game version
|1.00|= Game version
|arg= local |= Arguments in MP
|eff= global |= Effects in MP
____________________________________________________________________________________________
____________________________________________________________________________________________


| Lock the gunner position of the vehicle turret. |= Description
| Lock the gunner position of the vehicle turret. This command must be executed where vehicle is [[local]]. |= Description
____________________________________________________________________________________________
____________________________________________________________________________________________


Line 21: Line 25:




|x1= <code>vehicleName lockTurret ["turret path", true];</code>|= EXAMPLE1
|x1= <code>vehicleName [[lockTurret]] [<nowiki>[</nowiki>0,0], [[true]]];</code>|= EXAMPLE1


|x2= <pre>bis_ka lockturret [[0],true];</pre>|= EXAMPLE2   
|x2= <code>[[vehicle]] [[player]] [[lockTurret]] [<nowiki>[</nowiki>0],[[true]]];</code>|= EXAMPLE2   


____________________________________________________________________________________________
____________________________________________________________________________________________


| |= SEEALSO  
| [[lockedTurret]], [[lockCargo]], [[lockDriver]], [[assignedVehicleRole]] |= SEEALSO  


|  |= MPBEHAVIOUR  
|  |= MPBEHAVIOUR  

Revision as of 15:40, 6 December 2013

Hover & click on the images for description

Description

Description:
Lock the gunner position of the vehicle turret. This command must be executed where vehicle is local.
Groups:
Uncategorised

Syntax

Syntax:
vehicle lockTurret [turret path,lock]
Parameters:
vehicle: Object -
[turret path,lock]: Array -
Return Value:
Nothing

Examples

Example 1:
vehicleName lockTurret [[0,0], true];
Example 2:
vehicle player lockTurret [[0],true];

Additional Information

See also:
lockedTurretlockCargolockDriverassignedVehicleRole

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

Notes

Bottom Section