locked: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Take[ _]On[ _]Helicopters(\|.*)?\]\]" to "{{GameCategory|tkoh|Scripting Commands}}") |
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
||
Line 1: | Line 1: | ||
{{Command|Comments= | {{Command|Comments= | ||
| ofp |Game name= | | ofp |Game name= | ||
Line 9: | Line 8: | ||
|gr1= Object Manipulation |GROUP1= | |gr1= Object Manipulation |GROUP1= | ||
| Check if [[vehicle]] is locked. If it is locked, [[Object#Person|Persons]] cannot mount / dismount without order. |Description= | | Check if [[vehicle]] is locked. If it is locked, [[Object#Person|Persons]] cannot mount / dismount without order. |Description= | ||
| [[locked]] vehicle |Syntax= | | [[locked]] vehicle |Syntax= | ||
Line 26: | Line 23: | ||
** -1: vehicle [[isNull|is null]] | ** -1: vehicle [[isNull|is null]] | ||
* [[Boolean]] for older games |Return value= | * [[Boolean]] for older games |Return value= | ||
|x1= <code>_locked = [[locked]] _jeepOne;</code> |Example 1= | |x1= <code>_locked = [[locked]] _jeepOne;</code> |Example 1= | ||
| [[lock]], [[setVehicleLock]], [[lockedDriver]], [[lockedCargo]], [[lockedTurret]] |See also= | | [[lock]], [[setVehicleLock]], [[lockedDriver]], [[lockedCargo]], [[lockedTurret]] |See also= |
Revision as of 01:55, 17 January 2021
Description
- Description:
- Check if vehicle is locked. If it is locked, Persons cannot mount / dismount without order.
- Groups:
- Object Manipulation
Syntax
Examples
- Example 1:
_locked = locked _jeepOne;
Additional Information
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: Object Manipulation
- Scripting Commands OFP 1.46
- Scripting Commands OFP 1.96
- Scripting Commands OFP 1.99
- ArmA: Armed Assault: Scripting Commands
- Arma 2: Scripting Commands
- Take On Helicopters: Scripting Commands
- Arma 3: Scripting Commands