locked: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
Line 43: Line 43:
<h3 style="display:none">Bottom Section</h3>
<h3 style="display:none">Bottom Section</h3>
[[Category:Scripting Commands|LOCKED]]
[[Category:Scripting Commands|LOCKED]]
[[Category:Scripting Commands OFP 1.99|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands OFP 1.96|LOCKED]]
[[Category:Scripting Commands OFP 1.96|LOCKED]]
[[Category:Scripting Commands OFP 1.46|LOCKED]]
[[Category:Scripting Commands OFP 1.46|LOCKED]]

Revision as of 10:33, 25 September 2014

Hover & click on the images for description

Description

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

Syntax

Syntax:
Boolean = locked vehicle
Parameters:
vehicle: Object
Return Value:
Nothing

Examples

Example 1:
_it = locked _jeepOne

Additional Information

See also:
lock

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

Posted on March 4, 2013 - 16:20
Druid
From Arma 3 version 0.50 is return value Number:
-1 - Object is null
0 - Unlocked
1 - Default
2 - Locked
3 - Locked for player

Bottom Section