lockTurret: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \| *([^pr ]+) \|x1=" to " |r1=$1 |x1=")
m (Text replacement - "\| *r([0-9])= *Nothing * " to "|r$1= Nothing ")
Line 27: Line 27:
|p2= [turret path,lock]: [[Array]] -
|p2= [turret path,lock]: [[Array]] -


|r1= Nothing
|r1= [[Nothing]]


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

Revision as of 22:52, 10 June 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
Turrets

Syntax

Syntax:
Syntax needed
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:
lockedTurretlockCargolockDriverassignedVehicleRoleturretUnitmoveInTurret

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