setHUDMovementLevels: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \{\{GameCategory *\| *arma3 *\| *(New )?Scripting Commands\}\}" to "")
m (Some wiki formatting)
Line 1: Line 1:
{{RV|type=command
{{RV|type=command


| arma3
|game1= arma3
|version1= 0.50


|0.50
|gr1= Interaction


|gr1= Interaction
|descr= Set min/max movement borders displayed in HUD gauges. Use -1 to skip some value.


| Set min/max movement borders displayed in HUD gauges. Use -1 to skip some value.
|s1= [[setHUDMovementLevels]] [minSpeed, maxSpeed, minAlt, maxAlt, minDir, maxDir, targetOrPosition]


|s1= '''setHUDMovementLevels''' [minSpeed, maxSpeed, minAlt, maxAlt, minDir, maxDir, targetOrPosition]
|p1= minSpeed: [[Number]] - in m/s


|p1= [minSpeed, maxSpeed, minAlt, maxAlt, minDir, maxDir, position]: [[Array]]
|p2= maxSpeed: [[Number]] - in m/s


|p2= minSpeed: [[Number]] - Units: m/s
|p3= minAlt: [[Number]] - in meters


|p3= maxSpeed: [[Number]] - Units: m/s
|p4= maxAlt: [[Number]] - in meters


|p4= minAlt: [[Number]] - Units: m
|p5= minDir: [[Number]] - in degrees


|p5= maxAlt: [[Number]] - Units: m
|p6= maxDir: [[Number]] - in degrees


|p6= minDir: [[Number]] - Units: deg
|p7= targetOrPosition: [[Object]] or [[Position]]


|p7= maxDir: [[Number]] - Units: deg
|r1= [[Nothing]]


|p8= targetOrPosition: [[Object]] or [[Position]]
|x1= <code>[[setHUDMovementLevels]] [20, 30, -1, -1, 0.23, 2.1, [0,0,0]]</code>


|r1= [[Nothing]]
|x2= <code>[[setHUDMovementLevels]] [20, 30, -1, -1, 0.23, 2.1, player]</code>


|x1= <code>[[setHUDMovementLevels]] [20,30,-1,-1,0.23,2.1,[0,0,0]]</code>
|seealso=
|x2= <code>[[setHUDMovementLevels]] [20,30,-1,-1,0.23,2.1,player]</code>|= EXAMPL2
}}
}}

Revision as of 14:17, 13 June 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: Number - in m/s
maxSpeed: Number - in m/s
minAlt: Number - in meters
maxAlt: Number - in meters
minDir: Number - in degrees
maxDir: Number - in degrees
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