setVehicleLock: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
m (See also) |
||
Line 24: | Line 24: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| |= See also | | [[lock]], [[locked]] |= See also | ||
}} | }} |
Revision as of 03:02, 22 October 2014
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
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"