{"name":"headgear","operator":null,"title":"headgear","type":"command","url":"https://community.bistudio.com/wiki/headgear","revid":319125,"updated":"2022-05-13T09:23:14Z","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":null,"server_exec":false},"exec":null,"description":"Returns headgear of unit.","syntaxes":[{"syntax":"headgear 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":"String","types":["String"],"description":null,"text":"String"},"form":"unary","operator":null,"left":null,"right":{"text":"unit","types":["Object"]}}],"examples":[{"text":"```sqf\nhint headgear player; //H_HelmetB\n```","code":["hint headgear player; //H_HelmetB"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["addHeadgear","removeHeadgear","goggles","hmd"],"notes":[],"categories":["Arma 3: New Scripting Commands","Arma 3: Scripting Commands","Command Group: Unit Inventory","Introduced with Arma 3 version 0.50","Scripting Commands"]}