{"name":"removeHeadgear","operator":null,"title":"removeHeadgear","type":"command","url":"https://community.bistudio.com/wiki/removeHeadgear","revid":340893,"updated":"2023-05-13T21:57:45Z","groups":["Unit Inventory"],"status":"ok","replaced_by":[],"games":[{"game":"arma3","name":"Arma 3","version":"0.50"}],"since":{"game":"arma3","name":"Arma 3","version":"0.50"},"arma3_since":"0.50","branch":null,"locality":{"argument":"global","effect":"global","server_exec":false},"exec":null,"description":"Removes headgear from a unit. If unit has no headgear command quietly fails.","syntaxes":[{"syntax":"removeHeadgear unit","since":null,"effect":null,"exec":null,"params":[{"name":"unit","type":"Object","optional":false,"default":null,"description":null,"types":["Object"],"since":null,"text":"unit: Object"}],"returns":{"type":"Nothing","types":["Nothing"],"description":null,"text":"Nothing"},"form":"unary","operator":null,"left":null,"right":{"text":"unit","types":["Object"]}}],"examples":[{"text":"```sqf\nremoveHeadgear player;\n```","code":["removeHeadgear player;"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["headgear","addHeadgear"],"notes":[],"categories":["Arma 3: New Scripting Commands","Arma 3: Scripting Commands","Command Group: Unit Inventory","Introduced with Arma 3 version 0.50","Scripting Commands","Scripting Commands: Global Effect"]}