{"name":"BIS_fnc_magazinesEntityType","operator":null,"title":"BIS fnc magazinesEntityType","type":"function","url":"https://community.bistudio.com/wiki/BIS_fnc_magazinesEntityType","revid":363906,"updated":"2024-04-24T21:51:34Z","groups":["Weapons"],"status":"ok","replaced_by":[],"games":[{"game":"arma3","name":"Arma 3","version":"1.00"}],"since":{"game":"arma3","name":"Arma 3","version":"1.00"},"arma3_since":"1.00","branch":null,"locality":{"argument":null,"effect":null,"server_exec":false},"exec":null,"description":"Return object's magazines as defined in config. Scans also turrets and pylons.","syntaxes":[{"syntax":"class call BIS_fnc_magazinesEntityType","since":null,"effect":null,"exec":null,"params":[{"name":"class","type":"String","optional":false,"default":null,"description":"object class","types":["String"],"since":null,"text":"class: String - object class"}],"returns":{"type":"Array of Strings","types":["Array","String"],"description":null,"text":"Array of Strings"}}],"examples":[{"text":"```sqf\n\"O_MBT_04_cannon_F\" call BIS_fnc_magazinesEntityType;\n/*\n    returns\n    [\n        \"20Rnd_125mm_APFSDS_T_Green\",\n        \"12Rnd_125mm_HEAT_T_Green\",\n        \"12Rnd_125mm_HE_T_Green\",\n        \"1000Rnd_762x51_Belt_Green\",\n        \"1000Rnd_762x51_Belt_Green\",\n        \"500Rnd_127x99_mag_Tracer_Yellow\",\n        \"SmokeLauncherMag\"\n    ]\n*/\n```","code":["\"O_MBT_04_cannon_F\" call BIS_fnc_magazinesEntityType;\n/*\n\treturns\n\t[\n\t\t\"20Rnd_125mm_APFSDS_T_Green\",\n\t\t\"12Rnd_125mm_HEAT_T_Green\",\n\t\t\"12Rnd_125mm_HE_T_Green\",\n\t\t\"1000Rnd_762x51_Belt_Green\",\n\t\t\"1000Rnd_762x51_Belt_Green\",\n\t\t\"500Rnd_127x99_mag_Tracer_Yellow\",\n\t\t\"SmokeLauncherMag\"\n\t]\n*/"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["magazines"],"notes":[],"categories":["Arma 3: Functions","Arma 3: New Functions","Function Group: Weapons","Functions","Introduced with Arma 3 version 1.00"],"docblock":null,"filled_from_docblock":[]}