setSystemOfUnits: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "<code>([^ ]*)\[\[([a-zA-Z][a-zA-Z0-9_]+)\]\]([^ ]*)<\/code>" to "<code>$1$2$3</code>") |
Lou Montana (talk | contribs) m (Text replacement - "<code>([^ ]*)\[\[([a-zA-Z][a-zA-Z0-9_]+)\]\]([^ ]*)<\/code>" to "<code>$1$2$3</code>") |
||
Line 22: | Line 22: | ||
|r1= [[Nothing]] | |r1= [[Nothing]] | ||
|x1= <code>if (player in _myHelicopter) then { | |x1= <code>if (player in _myHelicopter) then { setSystemOfUnits 2; };</code> | ||
|seealso= [[Description.ext#forceRotorLibSimulation|forceRotorLibSimulation]], [[Advanced Helicopter Flight Model in Arma3|Advanced Helicopter Flight Model]], [[:Category:Command_Group:_RTD|RotorLib commands]] [[systemOfUnits]] | |seealso= [[Description.ext#forceRotorLibSimulation|forceRotorLibSimulation]], [[Advanced Helicopter Flight Model in Arma3|Advanced Helicopter Flight Model]], [[:Category:Command_Group:_RTD|RotorLib commands]] [[systemOfUnits]] | ||
}} | }} |
Revision as of 11:19, 12 May 2022
Description
- Description:
- Set system of units. This will only impact gauges from advanced flight model.
- 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
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