lockTurret: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \| arma2 \| *([0-9]\.[0-9]{2}) * " to " | arma2 |$1 |game2= arma2oa |version2= 1.50 |game3= tkoh |version3= 1.00 |game4= arma3 |version4= 0.50 ")
m (Text replacement - " \| *([^pr ]+) \|x1=" to " |r1=$1 |x1=")
Line 27: Line 27:
|p2= [turret path,lock]: [[Array]] -
|p2= [turret path,lock]: [[Array]] -


| 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 21:49, 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