{"name":"addMagazinePool","title":"addMagazinePool","type":"command","url":"https://community.bistudio.com/wiki/addMagazinePool","revid":364168,"updated":"2024-05-05T10:46:43Z","groups":["Weapon Pool"],"status":"ok","games":{"ofp":"1.75","ofpe":"1.00","arma1":"1.00","arma2":"1.00","arma2oa":"1.50","tkoh":"1.00","arma3":"0.50"},"since":"ofp 1.75","arma3_since":"0.50","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]","params":[{"name":"magazineName","type":"String","description":"magazine class name. See the topic Category:Weapons for reference about possible values.","type_expr":"String"},{"name":"count","type":"Number","description":"number of magazines to add","type_expr":"Number"}],"returns":{"type":"Nothing","type_expr":"Nothing"},"form":"unary","right":{"text":"[magazineName, count]"}}],"examples":[{"code":["addMagazinePool [\"M16\", 20];"]}],"see_also":["clearMagazinePool","queryMagazinePool"]}