{"name":"removeAllSecondaryWeaponItems","title":"removeAllSecondaryWeaponItems","type":"command","url":"https://community.bistudio.com/wiki/removeAllSecondaryWeaponItems","revid":310170,"updated":"2022-05-05T13:10:24Z","groups":["Unit Inventory"],"status":"ok","games":{"arma3":"2.02"},"since":"arma3 2.02","arma3_since":"2.02","locality":{"argument":"local","effect":"global"},"description":"Removes all items from secondaryWeapon, except magazine.","syntaxes":[{"syntax":"removeAllSecondaryWeaponItems unit","params":[{"name":"unit","type":"Object","type_expr":"Object"}],"returns":{"type":"Nothing","type_expr":"Nothing"},"form":"unary","right":{"text":"unit"}}],"examples":[{"code":["removeAllSecondaryWeaponItems player;"]}],"see_also":["addSecondaryWeaponItem","removeSecondaryWeaponItem","removeAllPrimaryWeaponItems","removeAllHandgunItems","removeAllBinocularItems"]}