{"name":"removeHeadgear","title":"removeHeadgear","type":"command","url":"https://community.bistudio.com/wiki/removeHeadgear","revid":379368,"updated":"2026-10-30T23:57:12Z","groups":["Unit Inventory"],"status":"ok","games":{"arma3":"0.50"},"since":"arma3 0.50","arma3_since":"0.50","locality":{"argument":"global","effect":"global"},"description":"Removes headgear from a unit. If unit has no headgear command quietly fails.","syntaxes":[{"syntax":"removeHeadgear unit","params":[{"name":"unit","type":"Object","type_expr":"Object"}],"returns":{"type":"Nothing","type_expr":"Nothing"},"form":"unary","right":{"text":"unit"}}],"examples":[{"code":["removeHeadgear player;"]}],"see_also":["headgear","addHeadgear"],"notes":[{"user":"Lucky44","date":"2016-08-05T16:08:00Z","text":"To clarify, this command effectively DELETES the headgear. It does not simply remove it from unit's head and move it into inventory."}]}