{"name":"getPylonMagazines","operator":null,"title":"getPylonMagazines","type":"command","url":"https://community.bistudio.com/wiki/getPylonMagazines","revid":364988,"updated":"2024-07-04T19:58:05Z","groups":["Vehicle Loadouts"],"status":"ok","replaced_by":[],"games":[{"game":"arma3","name":"Arma 3","version":"1.70"}],"since":{"game":"arma3","name":"Arma 3","version":"1.70"},"arma3_since":"1.70","branch":null,"locality":{"argument":null,"effect":null,"server_exec":false},"exec":null,"description":"Return array of magazines on pylons.","syntaxes":[{"syntax":"getPylonMagazines vehicle","since":null,"effect":null,"exec":null,"params":[{"name":"vehicle","type":"Object","optional":false,"default":null,"description":null,"types":["Object"],"since":null,"text":"vehicle: Object"}],"returns":{"type":"Array of Strings","types":["Array","String"],"description":"magazine names","text":"Array of Strings - magazine names"},"form":"unary","operator":null,"left":null,"right":{"text":"vehicle","types":["Object"]}}],"examples":[{"text":"```sqf\ngetPylonMagazines vehicle player;\n```","code":["getPylonMagazines vehicle player;"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["Arma 3: Vehicle Loadouts","getCompatiblePylonMagazines","setAmmoOnPylon","ammoOnPylon","animatePylon","animateBay","setPylonsPriority","setPylonLoadout","magazinesAllTurrets"],"notes":[{"user":"Sa-Matra","date":"2024-05-04T05:13:58Z","text":"Just like getAllPylonsInfo this command returns last pylon state which can include non-existent magazine that was deleted with removeMagazineTurret"}],"categories":["Arma 3: New Scripting Commands","Arma 3: Scripting Commands","Command Group: Vehicle Loadouts","Introduced with Arma 3 version 1.70","Scripting Commands"]}