Arma 3 Scripting

Command in System, Broken Commands

setSystemOfUnits

Also available as Markdown and JSON, or read the original wiki page.

Warning

This command is listed as broken on the wiki.

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

setSystemOfUnits value

Parameters:

Returns: Nothing

Examples

Example 1

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

See also

Description.ext · Advanced Helicopter Flight Model in Arma3 · systemOfUnits