setVehicleLock: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "|= Game name" to "|Game name=") |
Lou Montana (talk | contribs) m (Text replacement - "Category:Scripting Commands ArmA2" to "Category:Scripting Commands Arma 2") |
||
Line 45: | Line 45: | ||
[[Category:Scripting Commands OFP Elite |SETVEHICLELOCK]] | [[Category:Scripting Commands OFP Elite |SETVEHICLELOCK]] | ||
[[Category:Scripting Commands ArmA|SETVEHICLELOCK]] | [[Category:Scripting Commands ArmA|SETVEHICLELOCK]] | ||
[[Category:Scripting Commands | [[Category:Scripting Commands Arma 2|{{uc:{{PAGENAME}}}}]] | ||
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]] | ||
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]] |
Revision as of 16:14, 10 January 2020
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
- 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
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"
- 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.
Categories:
- Scripting Commands
- Introduced with Arma version 1.00
- Arma: New Scripting Commands
- Arma: Scripting Commands
- Command Group: Uncategorised
- Scripting Commands: Global Effect
- Scripting Commands OFP Elite
- Scripting Commands ArmA
- Scripting Commands Arma 2
- Scripting Commands Arma 3
- Scripting Commands Take On Helicopters