setHUDMovementLevels: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<h3 style='display:none'>Notes</h3> <dl class='command_description'> <!-- Note Section BEGIN --> <!-- Note Section END --> </dl> <h3 style='display:none'>Bottom Section</h3>" to "")
m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame( +[0-9])?|Game [Vv]ersion( +[0-9])?|Game Version \(number surrounded by NO SPACES\)|Arguments in MP|MP[Aa]rg|Multiplayer Arguments( \("local" or "global"\))?|Effects|Execution|Effects...)
Line 1: Line 1:
{{Command|Comments=
{{Command


| arma3 |Game name=
| arma3


|0.50|Game version=
|0.50


|gr1= Interaction |GROUP1=
|gr1= Interaction


| 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.


| '''setHUDMovementLevels''' [minSpeed, maxSpeed, minAlt, maxAlt, minDir, maxDir, targetOrPosition] |SYNTAX=
| '''setHUDMovementLevels''' [minSpeed, maxSpeed, minAlt, maxAlt, minDir, maxDir, targetOrPosition]


|p1= [minSpeed, maxSpeed, minAlt, maxAlt, minDir, maxDir, position]: [[Array]] |PARAMETER1=
|p1= [minSpeed, maxSpeed, minAlt, maxAlt, minDir, maxDir, position]: [[Array]]


|p2= minSpeed: [[Number]] - Units: m/s |PARAMETER2=
|p2= minSpeed: [[Number]] - Units: m/s


|p3= maxSpeed: [[Number]] - Units: m/s |PARAMETER3=
|p3= maxSpeed: [[Number]] - Units: m/s


|p4= minAlt: [[Number]] - Units: m |PARAMETER4=
|p4= minAlt: [[Number]] - Units: m


|p5= maxAlt: [[Number]] - Units: m |PARAMETER5=
|p5= maxAlt: [[Number]] - Units: m


|p6= minDir: [[Number]] - Units: deg |PARAMETER6=
|p6= minDir: [[Number]] - Units: deg


|p7= maxDir: [[Number]] - Units: deg |PARAMETER7=
|p7= maxDir: [[Number]] - Units: deg


|p8= targetOrPosition: [[Object]] or [[Position]] |PARAMETER8=
|p8= targetOrPosition: [[Object]] or [[Position]]


| [[Nothing]] |RETURNVALUE=
| [[Nothing]]




|x1= <code>[[setHUDMovementLevels]] [20,30,-1,-1,0.23,2.1,[0,0,0]]</code>|EXAMPLE1=
|x1= <code>[[setHUDMovementLevels]] [20,30,-1,-1,0.23,2.1,[0,0,0]]</code>
|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=
|


| |MPBEHAVIOUR=
|
}}
}}



Revision as of 11:12, 18 January 2021

Hover & click on the images for description

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