{"name":"addWeaponPool","title":"addWeaponPool","type":"command","url":"https://community.bistudio.com/wiki/addWeaponPool","revid":364177,"updated":"2024-05-05T10:46:45Z","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":"Add weapons to the weapon pool, of which the player may choose in the following mission. Available in campaigns only.","syntaxes":[{"syntax":"addWeaponPool [weaponName, count]","params":[{"name":"weaponName","type":"String","description":"weapon name. See the topic Category:Weapons for reference about possible values.","type_expr":"String"},{"name":"count","type":"Number","description":"number of weapons to add","type_expr":"Number"}],"returns":{"type":"Nothing","type_expr":"Nothing"},"form":"unary","right":{"text":"[weaponName, count]"}}],"examples":[{"code":["addWeaponPool [\"M16\",5];"]}],"see_also":["addMagazinePool","clearWeaponPool","queryWeaponPool","addMagazineAmmoCargo"]}