lockedInventory: Difference between revisions
Jump to navigation
Jump to search
m (added 2nd example with backpack) |
Killzone Kid (talk | contribs) No edit summary |
||
Line 6: | Line 6: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|descr= Get a vehicle's inventory lock state. Can also be used on a unit's backback. |Description= | |descr= Get a vehicle's inventory lock state. Can also be used on a unit's backback (see [[lockInventory]]). |Description= | ||
|mp= |Multiplayer Behaviour= | |mp= |Multiplayer Behaviour= |
Revision as of 13:34, 4 September 2020
Description
- Description:
- Get a vehicle's inventory lock state. Can also be used on a unit's backback (see lockInventory).
- Groups:
- Uncategorised
Syntax
- Syntax:
- lockedInventory vehicle
- Parameters:
- vehicle: Object
- Return Value:
- Boolean
Examples
- Example 1:
_isInventoryLocked = lockedInventory vehicle player;
- Example 2:
_isBackpackLocked = lockedInventory backpackContainer player;
Additional Information
- See also:
- lockInventory
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
[[Category:Introduced with arma3dev version ]][[ Category: arma3dev: New Scripting Commands | LOCKEDINVENTORY]][[ Category: arma3dev: Scripting Commands | LOCKEDINVENTORY]]