{"name":"removeSecondaryWeaponItem","title":"removeSecondaryWeaponItem","type":"command","url":"https://community.bistudio.com/wiki/removeSecondaryWeaponItem","revid":319509,"updated":"2022-05-13T09:24:13Z","groups":["Unit Inventory"],"status":"ok","games":{"arma3":"1.38"},"since":"arma3 1.38","arma3_since":"1.38","locality":{"argument":"local","effect":"global"},"description":"Removes given weapon item, including magazine, from the secondaryWeapon.","syntaxes":[{"syntax":"unit removeSecondaryWeaponItem item","params":[{"name":"unit","type":"Object","type_expr":"Object"},{"name":"item","type":"String","type_expr":"String"}],"returns":{"type":"Nothing","type_expr":"Nothing"},"form":"binary","left":{"text":"unit"},"right":{"text":"item"}}],"examples":[{"code":["player removeSecondaryWeaponItem (secondaryWeaponItems player select 0);"]}],"see_also":["addSecondaryWeaponItem","removePrimaryWeaponItem","removeHandgunItem","removeBinocularItem"]}