locked: Difference between revisions
Jump to navigation
Jump to search
Killzone Kid (talk | contribs) (syntax) |
Lou Montana (talk | contribs) (Fix return value description) |
||
Line 1: | Line 1: | ||
{{Command|= | {{Command|Comments= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| ofp | | | ofp |Game name= | ||
|1.00| | |1.00|Game version= | ||
|arg= global | | |arg= global |Arguments in MP= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| Check if [[vehicle]] is locked | | Check if [[vehicle]] is locked. If it is locked, [[Object#Person|Persons]] cannot mount / dismount without order. |Description= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | [[locked]] vehicle |Syntax= | ||
|p1= vehicle: [[Object]] | | |p1= vehicle: [[Object]] |Parameter 1= | ||
| [[Number]] - since | | | ||
* [[Number]] - since {{GVI|arma3|0.50}} | |||
** 0: Unlocked | |||
** 1: Default - a subordinate player cannot enter without AI leader order | |||
** 2: Locked | |||
** 3: Locked for player | |||
** -1: vehicle [[isNull|is null]] | |||
* [[Boolean]] for older games |Return value= | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <code>_locked = [[locked]] _jeepOne;</code> | | |x1= <code>_locked = [[locked]] _jeepOne;</code> |Example 1= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[lock]], [[setVehicleLock]] | | | [[lock]], [[setVehicleLock]] |See also= | ||
}} | }} | ||
Line 29: | Line 35: | ||
<dl class="command_description"> | <dl class="command_description"> | ||
<!-- Note Section BEGIN --> | <!-- Note Section BEGIN --> | ||
<!-- Note Section END --> | <!-- Note Section END --> | ||
Line 42: | Line 40: | ||
<h3 style="display:none">Bottom Section</h3> | <h3 style="display:none">Bottom Section</h3> | ||
[[Category:Scripting Commands| | [[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]] | ||
[[Category:Scripting Commands OFP 1.46|{{uc:{{PAGENAME}}}}]] | |||
[[Category:Scripting Commands OFP 1.96|{{uc:{{PAGENAME}}}}]] | |||
[[Category:Scripting Commands OFP 1.99|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting Commands OFP 1.99|{{uc:{{PAGENAME}}}}]] | ||
[[Category:Scripting Commands | [[Category:Scripting Commands ArmA|{{uc:{{PAGENAME}}}}]] | ||
[[Category:Scripting Commands | [[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]] | ||
[[Category:Scripting Commands | [[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]] | ||
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]] | |||
[[Category:Command_Group:_Object_Information|{{uc:{{PAGENAME}}}}]] | [[Category:Command_Group:_Object_Information|{{uc:{{PAGENAME}}}}]] | ||
[[Category:Command_Group:_Vehicle_Assignment|{{uc:{{PAGENAME}}}}]] | [[Category:Command_Group:_Vehicle_Assignment|{{uc:{{PAGENAME}}}}]] | ||
Revision as of 23:51, 9 January 2019
Description
- Description:
- Check if vehicle is locked. If it is locked, Persons cannot mount / dismount without order.
- Groups:
- Uncategorised
Syntax
Examples
- Example 1:
_locked = locked _jeepOne;
Additional Information
- See also:
- locksetVehicleLock
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
Categories:
- Scripting Commands
- Introduced with Operation Flashpoint version 1.00
- Operation Flashpoint: New Scripting Commands
- Operation Flashpoint: Scripting Commands
- Command Group: Uncategorised
- Scripting Commands OFP 1.46
- Scripting Commands OFP 1.96
- Scripting Commands OFP 1.99
- Scripting Commands ArmA
- Scripting Commands ArmA2
- Scripting Commands Take On Helicopters
- Scripting Commands Arma 3
- Command Group: Object Information
- Command Group: Vehicle Assignment