locked: 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|LOCKED]]
{{Command|= Comments
[[Category:Scripting Commands OFP 1.96|LOCKED]]
____________________________________________________________________________________________
[[Category:Scripting Commands OFP 1.46|LOCKED]]
[[Category:Scripting Commands ArmA|LOCKED]]


| ofp |= Game name


<h2 style="color:#000066"> '''locked ''unit'''''</h2>
|1.00|= Game version
____________________________________________________________________________________________


| Check if [[vehicle]] is locked for [[player]]. If it is locked, player cannot mount / dismount without order. |= Description
____________________________________________________________________________________________


'''Operand types:'''
| '''locked''' |= Syntax


'''unit:''' [[Object]]
|p1= unit: [[Object]] |= Parameter 1


'''Type of returned value:'''
| [[Boolean]] |= Return value
____________________________________________________________________________________________
 
|x1= <pre>_it = locked jeepOne</pre> |= Example 1
____________________________________________________________________________________________


[[Boolean]]
|  |= See also


'''Description:'''
}}


Check if [[vehicle]] is '''locked''' for [[player]].
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->


If it is locked, player cannot mount / dismount without order.
<!-- Note Section END -->
</dl>


 
<h3 style="display:none">Bottom Section</h3>
'''Example:'''
[[Category:Scripting Commands|LOCKED]]
 
[[Category:Scripting Commands OFP 1.96|LOCKED]]
_it = '''locked''' jeepOne
[[Category:Scripting Commands OFP 1.46|LOCKED]]
[[Category:Scripting Commands ArmA|LOCKED]]

Revision as of 02:00, 2 August 2006

Hover & click on the images for description

Description

Description:
Check if vehicle is locked for player. If it is locked, player cannot mount / dismount without order.
Groups:
Uncategorised

Syntax

Syntax:
locked
Parameters:
unit: Object
Return Value:
Boolean

Examples

Example 1:
_it = locked jeepOne

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