setSystemOfUnits: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "{{Command " to "{{RV|type=command ")
m (Text replacement - "\{\{( *)Important( *)\|" to "{{$1Feature$2|$2important$2|")
Line 12: Line 12:


| Set system of units. This will only impact gauges from advanced flight model.
| 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.}}
{{Feature|important|This command is buggy: any value other than 0 (metric) will display both units at the same time.}}


| [[setSystemOfUnits]] value
| [[setSystemOfUnits]] value

Revision as of 02:11, 7 February 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
SystemBroken Commands

Syntax

Syntax:
Syntax needed
Parameters:
value: Number - possible values are:
0 - metric
1 - mixed
2 - imperial
Return Value:
Return value needed

Examples

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

Additional Information

See also:
See also needed

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note