{"name":"queryItemsPool","operator":null,"title":"queryItemsPool","type":"command","url":"https://community.bistudio.com/wiki/queryItemsPool","revid":319415,"updated":"2022-05-13T09:24:03Z","groups":["Weapon Pool"],"status":"ok","replaced_by":[],"games":[{"game":"arma3","name":"Arma 3","version":"1.12"}],"since":{"game":"arma3","name":"Arma 3","version":"1.12"},"arma3_since":"1.12","branch":null,"locality":{"argument":null,"effect":null,"server_exec":false},"exec":null,"description":"Returns the number of items of type in the weapon pool (used in campaigns to transfer weapons to the next mission).","syntaxes":[{"syntax":"queryItemsPool name","since":null,"effect":null,"exec":null,"params":[{"name":"name","type":"String","optional":false,"default":null,"description":null,"types":["String"],"since":null,"text":"name: String"}],"returns":{"type":"Number","types":["Number"],"description":null,"text":"Number"},"form":"unary","operator":null,"left":null,"right":{"text":"name","types":["String"]}}],"examples":[{"text":"```sqf\nprivate _amountOfFAKgiven = queryItemsPool \"FirstAidKit\";\n```","code":["private _amountOfFAKgiven = queryItemsPool \"FirstAidKit\";"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["queryWeaponPool"],"notes":[],"categories":["Arma 3: New Scripting Commands","Arma 3: Scripting Commands","Command Group: Weapon Pool","Introduced with Arma 3 version 1.12","Scripting Commands"]}