Difference between revisions of "lock"

From Bohemia Interactive Community
Jump to navigation Jump to search
m
Line 1: Line 1:
[[Category:Scripting Commands|LOCK]]
+
{{Command|= Comments
[[Category:Scripting Commands OFP 1.96|LOCK]]
+
____________________________________________________________________________________________
[[Category:Scripting Commands OFP 1.46|LOCK]]
 
[[Category:Scripting Commands ArmA|LOCK]]
 
  
 +
| ofp |= Game name
  
<h2 style="color:#000066">'''''vehicle'' lock ''lock'''''</h2>
+
|1.00|= Game version
 +
____________________________________________________________________________________________
  
 +
| Lock vehicle (disable mounting / dismounting) for player. |= Description
 +
____________________________________________________________________________________________
  
'''Operand types:'''
+
| vehicle '''lock''' lock |= Syntax
  
'''vehicle:''' [[Object]]
+
|p1= vehicle: [[Object]] |= Parameter 1
  
'''lock:''' [[Boolean]]
+
|p2= lock: [[Boolean]] |= Parameter 2
  
'''Type of returned value:'''
+
| [[Nothing]] |= Return value
 +
____________________________________________________________________________________________
 +
 
 +
|x1= <pre>jeepOne lock [[true]]</pre> |= Example 1
 +
____________________________________________________________________________________________
  
[[Nothing]]
+
|  |= See also
  
'''Description:'''
+
}}
  
'''Lock''' vehicle (disable mounting / dismounting) for player.
+
<h3 style="display:none">Notes</h3>
 +
<dl class="command_description">
 +
<!-- Note Section BEGIN -->
  
 +
<!-- Note Section END -->
 +
</dl>
  
'''Example:'''
+
<h3 style="display:none">Bottom Section</h3>
 
+
[[Category:Scripting Commands|LOCK]]
jeepOne '''lock''' [[true]]
+
[[Category:Scripting Commands OFP 1.96|LOCK]]
 +
[[Category:Scripting Commands OFP 1.46|LOCK]]
 +
[[Category:Scripting Commands ArmA|LOCK]]

Revision as of 00:59, 2 August 2006

Introduced with Operation Flashpoint version1.00
  

Click on the images for descriptions

Introduced in

Game:
Operation Flashpoint
Version:
1.00

Description

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

Syntax

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

Examples

Example 1:
jeepOne lock [[true]]

Additional Information

Multiplayer:
-
See also:
See also needed

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To

Notes

Bottom Section