setHUDMovementLevels: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (spelling correction)
m (template:command argument fix)
Line 12: Line 12:
| '''setHUDMovementLevels''' [minSpeed, maxSpeed, minAlt, maxAlt, minDir, maxDir, targetOrPosition] |= Syntax
| '''setHUDMovementLevels''' [minSpeed, maxSpeed, minAlt, maxAlt, minDir, maxDir, targetOrPosition] |= Syntax


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


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


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


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


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


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


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


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


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




|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>|EXAMPLE1=  
|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 10:37, 7 April 2019

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:
Uncategorised

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

Notes

Bottom Section