{"name":"BIS_fnc_compatibleItems","operator":null,"title":"BIS fnc compatibleItems","type":"function","url":"https://community.bistudio.com/wiki/BIS_fnc_compatibleItems","revid":349367,"updated":"2023-11-08T15:35:11Z","groups":["Inventory"],"status":"deprecated","replaced_by":["compatibleItems"],"games":[{"game":"arma3","name":"Arma 3","version":"1.24"}],"since":{"game":"arma3","name":"Arma 3","version":"1.24"},"arma3_since":"1.24","branch":null,"locality":{"argument":null,"effect":null,"server_exec":false},"exec":null,"description":"> [!CAUTION]\n> This information is **obsolete**. Use compatibleItems instead.\n\n Return all compatible weapon attachments.","syntaxes":[{"syntax":"weapon call BIS_fnc_compatibleItems","since":null,"effect":null,"exec":null,"params":[{"name":"weapon","type":"String","optional":false,"default":null,"description":"weapon class","types":["String"],"since":null,"text":"weapon: String - weapon class"}],"returns":{"type":"Array of Strings","types":["Array","String"],"description":null,"text":"Array of Strings"}}],"examples":[{"text":"```sqf\n(currentWeapon player) call BIS_fnc_compatibleItems;\n```","code":["(currentWeapon player) call BIS_fnc_compatibleItems;"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["compatibleItems","currentWeapon","BIS_fnc_limitWeaponItems","BIS_fnc_baseWeapon"],"notes":[],"categories":["Arma 3: Functions","Arma 3: New Functions","Function Group: Inventory","Functions","Introduced with Arma 3 version 1.24"],"docblock":null,"filled_from_docblock":[]}