setVehicleLock: Difference between revisions
Jump to navigation
Jump to search
m (See also) |
Killzone Kid (talk | contribs) (description, note, format) |
||
Line 7: | Line 7: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | Sets vehicle lock. Possible values: | ||
<br> | |||
Possible values: "UNLOCKED" | * "UNLOCKED" | ||
* "DEFAULT" | |||
* "LOCKED" | |||
* "LOCKEDPLAYER" |= Description | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| vehicleName '''setVehicleLock''' | | vehicleName '''setVehicleLock''' lockState |= Syntax | ||
|p1= vehicleName: [[Object]] |= Parameter 1 | |p1= vehicleName: [[Object]] |= Parameter 1 | ||
|p2= | |p2= lockState: [[String]] see above |= Parameter 2 | ||
| [[Nothing]] |= Return value | | [[Nothing]] |= Return value | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= < | |x1= <code>_veh1 [[setVehicleLock]] "LOCKED";</code> |= Example 1 | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Line 51: | Line 54: | ||
setVehicleLock "UNLOCKED" = same as "[[lock]] 0"<br/> | setVehicleLock "UNLOCKED" = same as "[[lock]] 0"<br/> | ||
setVehicleLock "DEFAULT" = same as "[[lock]] 1"<br/> | setVehicleLock "DEFAULT" = same as "[[lock]] 1"<br/> | ||
setVehicleLock "LOCKED" = same as "[[lock]] 2" | setVehicleLock "LOCKED" = same as "[[lock]] 2"<br/> | ||
setVehicleLock "LOCKEDPLAYER" = same as "[[lock]] 3" | |||
</dd> | </dd> | ||
</dl> | </dl> | ||
<!-- DISCONTINUE Notes --> | <!-- DISCONTINUE Notes --> |
Revision as of 11:54, 22 October 2014
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"