setVehicleLock
Jump to navigation
Jump to search
Description
- Description:
- Sets vehicle lock. Possible values:
- "UNLOCKED"
- "DEFAULT"
- "LOCKED"
- "LOCKEDPLAYER"
- Groups:
- Uncategorised
Syntax
- Syntax:
- vehicleName setVehicleLock lockState
- Parameters:
- vehicleName: Object
- lockState: String see above
- Return Value:
- Nothing
Examples
- Example 1:
_veh1 setVehicleLock "LOCKED";
Additional Information
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"
setVehicleLock "LOCKEDPLAYER" = same as "lock 3"