setHUDMovementLevels: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\{\{GameCategory\|(arma[0123])\|[ _]?New[ _]Scripting[ _]Commands[ _]List\}\}" to "{{GameCategory|$1|New Scripting Commands}}") |
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
||
Line 1: | Line 1: | ||
{{Command|Comments= | {{Command|Comments= | ||
| arma3 |Game name= | | arma3 |Game name= | ||
Line 7: | Line 6: | ||
|gr1= Interaction |GROUP1= | |gr1= Interaction |GROUP1= | ||
| Set min/max movement borders displayed in HUD gauges. Use -1 to skip some value. |DESCRIPTION= | | Set min/max movement borders displayed in HUD gauges. Use -1 to skip some value. |DESCRIPTION= | ||
| '''setHUDMovementLevels''' [minSpeed, maxSpeed, minAlt, maxAlt, minDir, maxDir, targetOrPosition] |SYNTAX= | | '''setHUDMovementLevels''' [minSpeed, maxSpeed, minAlt, maxAlt, minDir, maxDir, targetOrPosition] |SYNTAX= | ||
Line 36: | Line 33: | ||
|x2= <code>[[setHUDMovementLevels]] [20,30,-1,-1,0.23,2.1,player]</code>|= EXAMPL2 | |x2= <code>[[setHUDMovementLevels]] [20,30,-1,-1,0.23,2.1,player]</code>|= EXAMPL2 | ||
| |SEEALSO= | | |SEEALSO= | ||
| |MPBEHAVIOUR= | | |MPBEHAVIOUR= | ||
}} | }} | ||
Revision as of 02:29, 17 January 2021
Description
- Description:
- Set min/max movement borders displayed in HUD gauges. Use -1 to skip some value.
- Groups:
- Interaction
Syntax
- Syntax:
- setHUDMovementLevels [minSpeed, maxSpeed, minAlt, maxAlt, minDir, maxDir, targetOrPosition]
- Parameters:
- [minSpeed, maxSpeed, minAlt, maxAlt, minDir, maxDir, position]: Array
- minSpeed: Number - Units: m/s
- maxSpeed: Number - Units: m/s
- minAlt: Number - Units: m
- maxAlt: Number - Units: m
- minDir: Number - Units: deg
- maxDir: Number - Units: deg
- targetOrPosition: Object or Position
- Return Value:
- Nothing
Examples
- Example 1:
setHUDMovementLevels [20,30,-1,-1,0.23,2.1,[0,0,0]]
- Example 2:
setHUDMovementLevels [20,30,-1,-1,0.23,2.1,player]
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