setSystemOfUnits

From Bohemia Interactive Community
Jump to: navigation, search
Introduced with Arma 3 version 0.50
  Effects of this scripting command are not broadcasted over the network and remain local to the client the command is executed on

Click on the images for descriptions

Introduced in

Game:
Arma 3
Version:
0.50

Description

Description:
Set system of units. This will only impact gauges from advanced flight model.
This command is buggy: any value other than 0 (metric) will display both units at the same time.

Syntax

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

Examples

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

Additional Information

Multiplayer:
-
See also:
forceRotorLibSimulationAdvanced Helicopter Flight ModelRotorLib commands

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To

Notes

Bottom Section