Difference between revisions of "lock"

From Bohemia Interactive Community
Jump to navigation Jump to search
(+ categories)
m
Line 14: Line 14:
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  
| vehicle '''lock''' lock |= Syntax
+
| [[Object#Vehicle|Vehicle]]'''lock''' Onff|= Syntax
  
|p1= vehicle: [[Object]] |= Parameter 1
+
|p1= OnOff: [[Boolean]]  
 
 
|p2= lock: [[Boolean]] |= Parameter 2
 
  
 
| [[Nothing]] |= Return value
 
| [[Nothing]] |= Return value
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
 
   
 
   
|x1= <code>jeepOne '''lock''' [[true]]</code> |= Example 1
+
|x1= <code>_jeepOne '''lock''' [[true]]</code> |= Example 1
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  

Revision as of 05:53, 28 August 2007

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:
Vehiclelock Onff
Parameters:
OnOff: Boolean
Return Value:
Nothing

Examples

Example 1:
_jeepOne lock true

Additional Information

See also:
See also needed

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