setVehicleLock

From Bohemia Interactive Community
Revision as of 04:02, 22 October 2014 by AgentRev (talk | contribs) (See also)
Jump to navigation Jump to search
-wrong parameter ("Arma") defined!-1.00
Hover & click on the images for description

Description

Description:
Set how vehicle is locked for player. Possible values: "UNLOCKED", "DEFAULT" or "LOCKED".
Groups:
Uncategorised

Syntax

Syntax:
vehicleName setVehicleLock state
Parameters:
vehicleName: Object
state: String see above
Return Value:
Nothing

Examples

Example 1:
_veh1 setVehicleLock "LOCKED"

Additional Information

See also:
locklocked

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

Posted on October 22, 2014 - 02:01 (UTC)
AgentRevolution
In Arma 3:
setVehicleLock "UNLOCKED" = same as "lock 0"
setVehicleLock "DEFAULT" = same as "lock 1"
setVehicleLock "LOCKED" = same as "lock 2"