setVehicleLock: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "<dl class="command_description"> <dd class="notedate">" to "<dl class="command_description"> <dt></dt> <dd class="notedate">") |
Lou Montana (talk | contribs) m (Text replacement - " <dd class="notedate">" to " <dt><dt> <dd class="notedate">") |
||
Line 49: | Line 49: | ||
setVehicleLock "LOCKEDPLAYER" = same as "[[lock]] 3" | setVehicleLock "LOCKEDPLAYER" = same as "[[lock]] 3" | ||
</dd> | </dd> | ||
<dt><dt> | |||
<dd class="notedate">Posted on March 4, 2015 - 15:57 (UTC)</dd> | <dd class="notedate">Posted on March 4, 2015 - 15:57 (UTC)</dd> | ||
<dt class="note">[[User:Killzone Kid|Killzone Kid]]</dt> | <dt class="note">[[User:Killzone Kid|Killzone Kid]]</dt> |
Revision as of 00:27, 6 April 2021
Description
- Description:
- Description needed
- Groups:
- Object Manipulation
Syntax
- Syntax:
- Syntax needed
- Parameters:
- vehicleName: Object
- lockState: String see above
- Return Value:
- Return value needed
Examples
- Example 1:
_veh1 setVehicleLock "LOCKED";
Additional Information
- See also:
- locklockedlockDriverlockCargolockTurret
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
- 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" - Posted on March 4, 2015 - 15:57 (UTC)
- Killzone Kid
- DEFAULT lock is default vehicle lock when vehicle placed in editor. If player is in a group of AIs and not the leader, he will not be able to enter this vehicle as he will not have GetIn action for this vehicle.