{"name":"binocularMagazine","operator":null,"title":"binocularMagazine","type":"command","url":"https://community.bistudio.com/wiki/binocularMagazine","revid":377189,"updated":"2026-01-01T10:53:24Z","groups":["Unit Inventory"],"status":"ok","replaced_by":[],"games":[{"game":"arma3","name":"Arma 3","version":"2.02"}],"since":{"game":"arma3","name":"Arma 3","version":"2.02"},"arma3_since":"2.02","branch":null,"locality":{"argument":"global","effect":null,"server_exec":false},"exec":null,"description":"Collects all loaded magazines from all binocular muzzles and returns them in Array, otherwise it returns []. This command is used for infantry weapons only.","syntaxes":[{"syntax":"binocularMagazine unit","since":null,"effect":null,"exec":null,"params":[{"name":"unit","type":"Object","optional":false,"default":null,"description":null,"types":["Object"],"since":null,"text":"unit: Object"}],"returns":{"type":"Array of Strings","types":["Array","String"],"description":null,"text":"Array of Strings"},"form":"unary","operator":null,"left":null,"right":{"text":"unit","types":["Object"]}}],"examples":[{"text":"```sqf\nhint str binocularMagazine player; // [\"Laserbatteries\"]\n```","code":["hint str binocularMagazine player; // [\"Laserbatteries\"]"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["binocularItems","addBinocularItem","removeBinocularItem","removeAllBinocularItems","primaryWeaponMagazine","secondaryWeaponMagazine","handgunMagazine"],"notes":[],"categories":["Arma 3: New Scripting Commands","Arma 3: Scripting Commands","Command Group: Unit Inventory","Introduced with Arma 3 version 2.02","Scripting Commands"]}