{"name":"addMagazinePool","operator":null,"title":"addMagazinePool","type":"command","url":"https://community.bistudio.com/wiki/addMagazinePool","revid":364168,"updated":"2024-05-05T10:46:43Z","groups":["Weapon Pool"],"status":"ok","replaced_by":[],"games":[{"game":"ofp","name":"Operation Flashpoint","version":"1.75"},{"game":"ofpe","name":"Operation Flashpoint: Elite","version":"1.00"},{"game":"arma1","name":"Armed Assault","version":"1.00"},{"game":"arma2","name":"Arma 2","version":"1.00"},{"game":"arma2oa","name":"Arma 2: Operation Arrowhead","version":"1.50"},{"game":"tkoh","name":"Take On Helicopters","version":"1.00"},{"game":"arma3","name":"Arma 3","version":"0.50"}],"since":{"game":"ofp","name":"Operation Flashpoint","version":"1.75"},"arma3_since":"0.50","branch":null,"locality":{"argument":null,"effect":null,"server_exec":false},"exec":null,"description":"Adds magazines to the magazine pool, of which the player may choose in the following mission. Available in campaigns only.","syntaxes":[{"syntax":"addMagazinePool [magazineName, count]","since":null,"effect":null,"exec":null,"params":[{"name":"magazineName","type":"String","optional":false,"default":null,"description":"magazine class name. See the topic Category:Weapons for reference about possible values.","types":["String"],"since":null,"text":"magazineName: String - magazine class name. See the topic Category:Weapons for reference about possible values."},{"name":"count","type":"Number","optional":false,"default":null,"description":"number of magazines to add","types":["Number"],"since":null,"text":"count: Number - number of magazines to add"}],"returns":{"type":"Nothing","types":["Nothing"],"description":null,"text":"Nothing"},"form":"unary","operator":null,"left":null,"right":{"text":"[magazineName, count]","types":["Array"]}}],"examples":[{"text":"```sqf\naddMagazinePool [\"M16\", 20];\n```","code":["addMagazinePool [\"M16\", 20];"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["clearMagazinePool","queryMagazinePool"],"notes":[],"categories":["ArmA: Armed Assault: Scripting Commands","Arma 2: Operation Arrowhead: Scripting Commands","Arma 2: Scripting Commands","Arma 3: Scripting Commands","Command Group: Weapon Pool","Introduced with Operation Flashpoint version 1.75","Operation Flashpoint: Elite: Scripting Commands","Operation Flashpoint: New Scripting Commands","Operation Flashpoint: Scripting Commands","Scripting Commands","Take On Helicopters: Scripting Commands"]}