Difference between revisions of "lock"

From Bohemia Interactive Community
Jump to navigation Jump to search
(see also)
m
Line 14: Line 14:
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  
| [[Object#Vehicle|Vehicle]] '''lock''' OnOff|= Syntax
+
| vehicleName '''lock''' lock|= Syntax
  
|p1= OnOff: [[Boolean]]  
+
|p1= vehicleName: [[Object]] |= Parameter 1
 +
|p2= lock: [[Boolean]] |= Parameter 2
  
 
| [[Nothing]] |= Return value
 
| [[Nothing]] |= Return value

Revision as of 21:01, 23 January 2009

Introduced with Operation Flashpoint version 1.001.00Arguments of this scripting command have to be local to the client the command is executed onEffects of this scripting command are not broadcasted over the network and remain local to the client the command is executed on
Hover & click on the images for descriptions

Description

Description:
Lock vehicle (disable mounting / dismounting) for player.

Syntax

Syntax:
vehicleName lock lock
Parameters:
vehicleName: Object
lock: Boolean
Return Value:
Nothing

Examples

Example 1:
_jeepOne lock true

Additional Information

See also:
locked

Notes

i
Only post proven facts here. Report bugs on the Feedback Tracker and discuss on the Arma Discord or on the Forums.

Notes

Bottom Section