---
name: "setSystemOfUnits"
type: command
status: broken
groups: ["System", "Broken Commands"]
arma3_since: "0.50"
locality: {"argument": null, "effect": "local", "server_exec": false}
source: https://community.bistudio.com/wiki/setSystemOfUnits
revid: 339090
updated: 2023-04-26T10:54:08Z
---

# setSystemOfUnits

*Command · System, Broken Commands · Arma 3 v0.50*

> [!WARNING]
> This command is listed as broken on the wiki.

Locality: effect **local**

## Description

Set system of units. This will only impact gauges from advanced flight model.

> [!IMPORTANT]
> This command is buggy: any value other than 0 (metric) will display both units at the same time.

## Syntax

```sqf
setSystemOfUnits value
```

**Parameters:**

- `value`: [Number](../topics/Number.md) - possible values are:
  - 0 - metric
  - 1 - mixed
  - 2 - imperial

**Returns:** [Nothing](../topics/Nothing.md)

## Examples

### Example 1

```sqf
if (player in _myHelicopter) then { setSystemOfUnits 2; };
```

## See also

[Description.ext](../topics/Description.ext.md) · Advanced Helicopter Flight Model in Arma3 · [systemOfUnits](../commands/systemOfUnits.md)

<sub>Source: [BI Community Wiki — setSystemOfUnits](https://community.bistudio.com/wiki/setSystemOfUnits) (revision 339090).</sub>
