{"name":"addItemPool","operator":null,"title":"addItemPool","type":"command","url":"https://community.bistudio.com/wiki/addItemPool","revid":318565,"updated":"2022-05-13T09:21:06Z","groups":["Weapon Pool"],"status":"ok","replaced_by":[],"games":[{"game":"arma3","name":"Arma 3","version":"1.04"}],"since":{"game":"arma3","name":"Arma 3","version":"1.04"},"arma3_since":"1.04","branch":null,"locality":{"argument":null,"effect":null,"server_exec":false},"exec":null,"description":"Adds count items of type name into the weapon pool (used in the campaign to transfer items to the next mission)","syntaxes":[{"syntax":"addItemPool [itemName, count]","since":null,"effect":null,"exec":null,"params":[{"name":"itemName","type":"String","optional":false,"default":null,"description":"item name","types":["String"],"since":null,"text":"itemName: String - item name"},{"name":"count","type":"Number","optional":false,"default":null,"description":"number of items to add","types":["Number"],"since":null,"text":"count: Number - number of items to add"}],"returns":{"type":"Nothing","types":["Nothing"],"description":null,"text":"Nothing"},"form":"unary","operator":null,"left":null,"right":{"text":"[itemName, count]","types":["Array"]}}],"examples":[{"text":"```sqf\naddItemPool [\"ItemGPS\", 5];\n```","code":["addItemPool [\"ItemGPS\", 5];"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["clearItemPool"],"notes":[],"categories":["Arma 3: New Scripting Commands","Arma 3: Scripting Commands","Command Group: Weapon Pool","Introduced with Arma 3 version 1.04","Scripting Commands"]}