setSystemOfUnits: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " +" to " ")
m (Text replacement - " \| *(([^=\| ]+)('''|\[\[)([^=\| ]+)) * +\|p1=" to " |s1= $1 |p1=")
Line 14: Line 14:
{{Feature|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
|s1=  [[setSystemOfUnits]] value


|p1= value: [[Number]] - possible values are:<br><!-- <br> instead of * list because of a Return value title display bug -->
|p1= value: [[Number]] - possible values are:<br><!-- <br> instead of * list because of a Return value title display bug -->

Revision as of 23:27, 12 June 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
SystemBroken Commands

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

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