Arma 3 Scripting

Function in Inventory

BIS_fnc_invSlotsEmpty

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

Description

Returns empty inventory slots of given unit.

Syntax

[object] call BIS_fnc_invSlotsEmpty

Parameters:

Returns: Array - array with empty slots

Examples

Example 1

[player] call BIS_fnc_invSlotsEmpty;//Can return [0,0,-1,-7,0,-1,0,-12]

See also

BIS_fnc_invRemove · BIS_fnc_invCodeToArray · BIS_fnc_invString · BIS_fnc_invSlots · BIS_fnc_invSlotType · BIS_fnc_invAdd