{"name":"BIS_fnc_invSlotType","title":"BIS fnc invSlotType","type":"function","url":"https://community.bistudio.com/wiki/BIS_fnc_invSlotType","revid":349431,"updated":"2023-11-08T16:27:36Z","groups":["Inventory"],"status":"ok","games":{"arma2":"1.00","arma2oa":"1.50","tkoh":"1.00","arma3":"0.50"},"since":"arma2 1.00","arma3_since":"0.50","description":"Returns empty inventory slots of given unit.","syntaxes":[{"syntax":"[class] call BIS_fnc_invSlotType","params":[{"name":"class","type":"String","description":"inventory item","type_expr":"String"}],"returns":{"type":"Array of Numbers","type_expr":"Array<Number>","description":"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":[{"code":["[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"]}