lockedInventory

From Bohemia Interactive Community
Jump to navigation Jump to search
Introduced with Arma 3 version 2.002.00
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.

Bottom Section