setVehicleLock: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
Line 42: Line 42:
[[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}}}}]]
<!-- CONTINUE Notes -->
<dl class="command_description">
<dd class="notedate">Posted on October 22, 2014 - 02:01 (UTC)</dd>
<dt class="note">[[User:AgentRevolution|AgentRevolution]]</dt>
<dd class="note">
In Arma 3:<br/>
setVehicleLock "UNLOCKED" = same as "[[lock]] 0"<br/>
setVehicleLock "DEFAULT" = same as "[[lock]] 1"<br/>
setVehicleLock "LOCKED" = same as "[[lock]] 2"
</dd>
</dl>
<!-- DISCONTINUE Notes -->

Revision as of 03:01, 22 October 2014

-wrong parameter ("Arma") defined!-1.00
Hover & click on the images for description

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

See also:
See also needed

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"