Description
Returns empty inventory slots of given unit.
Syntax
[class] call BIS_fnc_invSlotType
Parameters:
class: String - inventory item
Returns: Array of Numbers - numbers representing slots taken by given item (one item can take more slots of same or different type), empty if type 0 or not found
Examples
Example 1
[currentWeapon player] call BIS_fnc_invSlotType;//Can return [1,0,0,0,0,0,0,0]
See also
BIS_fnc_invRemove · BIS_fnc_invCodeToArray · BIS_fnc_invString · BIS_fnc_invSlots · BIS_fnc_invSlotsEmpty · BIS_fnc_invAdd