Arma 3 Scripting

Command in Unit Inventory

lockedInventory

Also available as Markdown and JSON, or read the original wiki page.

Description

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

Syntax

lockedInventory vehicle

Parameters:

Returns: Boolean

Examples

Example 1

private _isInventoryLocked = lockedInventory vehicle player;

Example 2

private _isBackpackLocked = lockedInventory backpackContainer player;

See also

lockInventory