setVehicleLock: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 1: Line 1:
[[Category:Scripting Commands|SETVEHICLELOCK]]
{{Command|= Comments
[[Category:Scripting Commands OFP Elite |SETVEHICLELOCK]]
____________________________________________________________________________________________
[[Category:Scripting Commands ArmA|SETVEHICLELOCK]]


<h2 style="color:#000066">'''''vehicle'' setVehicleLock ''state'''''</h2>
| arma |= Game name


|2.33|= Game version
____________________________________________________________________________________________


'''Operand types:'''
| Set how vehicle is locked for player. Possible values: UNLOCKED, DEFAULT or LOCKED. |= Description
____________________________________________________________________________________________


'''vehicle:''' [[Object]]
| vehicle '''setVehicleLock''' state |= Syntax


'''state:''' [[String]]
|p1= vehicle: [[Object]] |= Parameter 1


'''Type of returned value:'''
|p2= state: [[String]] |= Parameter 2


[[Nothing]]
| [[Nothing]] |= Return value
____________________________________________________________________________________________
 
|x1= <pre>veh1 setVehicleLock "LOCKED"</pre> |= Example 1
____________________________________________________________________________________________


'''Compatibility:'''
|  |= See also


Version 2.33 required.
}}


'''Description:'''
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->


Set how vehicle is locked for player.
<!-- Note Section END -->
</dl>


Possible values: UNLOCKED, DEFAULT or LOCKED.
<h3 style="display:none">Bottom Section</h3>
 
[[Category:Scripting Commands|SETVEHICLELOCK]]
 
[[Category:Scripting Commands OFP Elite |SETVEHICLELOCK]]
'''Example:'''
[[Category:Scripting Commands ArmA|SETVEHICLELOCK]]
 
veh1 '''setVehicleLock''' "LOCKED"

Revision as of 23:36, 1 August 2006

-wrong parameter ("Arma") defined!-2.33
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:
vehicle setVehicleLock state
Parameters:
vehicle: Object
state: String
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