{"name":"setSystemOfUnits","title":"setSystemOfUnits","type":"command","url":"https://community.bistudio.com/wiki/setSystemOfUnits","revid":339090,"updated":"2023-04-26T10:54:08Z","groups":["System","Broken Commands"],"status":"broken","games":{"arma3":"0.50"},"since":"arma3 0.50","arma3_since":"0.50","locality":{"effect":"local"},"description":"Set system of units. This will only impact gauges from advanced flight model.\n\n> [!IMPORTANT]\n> This command is buggy: any value other than 0 (metric) will display both units at the same time.","syntaxes":[{"syntax":"setSystemOfUnits value","params":[{"name":"value","type":"Number","description":"possible values are:\n\n- 0 - metric\n- 1 - mixed\n- 2 - imperial","type_expr":"Number"}],"returns":{"type":"Nothing","type_expr":"Nothing"},"form":"unary","right":{"text":"value"}}],"examples":[{"code":["if (player in _myHelicopter) then { setSystemOfUnits 2; };"]}],"see_also":["Description.ext","Advanced Helicopter Flight Model in Arma3","systemOfUnits"]}