setSystemOfUnits: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "{{uc:{{PAGENAME}}}} " to "")
m (Text replacement - "| Nothing |x1=" to "|r1= Nothing |x1=")
Line 21: Line 21:
2 - imperial
2 - imperial


| [[Nothing]]
|r1= [[Nothing]]


|x1= <code>[[if]] ([[player]] [[in]] _myHelicopter) [[then]] { [[setSystemOfUnits]] 2; };</code>
|x1= <code>[[if]] ([[player]] [[in]] _myHelicopter) [[then]] { [[setSystemOfUnits]] 2; };</code>

Revision as of 10:17, 10 June 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:
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