lockedInventory

From Bohemia Interactive Community
Jump to navigation Jump to search
[[File:arma3 Expression error: Unexpected < operator. version.gif|link=Category:Introduced with Arma 3 version ?|alt=Introduced with Arma 3 version ?]]<span class="Expression error: Unexpected < operator.">?
Hover & click on the images for descriptions

Description

Description:
Get a vehicle's inventory lock state. Can also be used on a unit's backback (see lockInventory).

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
Groups:
Unit Inventory

Notes

i
Only post proven facts here. Report bugs on the Feedback Tracker and discuss on the Arma Discord or on the Forums.

[[Category:Introduced with Arma 3 version {{{2}}}]]