Return all compatible weapon attachments.
_weapon | A weapons class name STRING |
_typefilter | Optional filter. Can be “muzzle”, “optic”, “pointer” or “bipod”. <STRING, NUMBER> |
Class names of attachments compatible with weapon ARRAY
_acclist = ["LMG_Mk200_F"] call CBA_fnc_compatibleItems; _muzzleacclist = ["LMG_Mk200_F", "muzzle"] call CBA_fnc_compatibleItems;
Original by Karel Moricky, Enhanced by Robalo, jokoho, commy2, johnb43