setHUDMovementLevels: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " | }}" to " }}")
m (Text replacement - "\|x([0-9])= <sqf>([^\/: ]+)([^;])<\/sqf>" to "|x$1= <sqf>$2$3;</sqf>")
 
(8 intermediate revisions by the same user not shown)
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]


| '''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= <sqf>setHUDMovementLevels [20, 30, -1, -1, 0.23, 2.1, [0,0,0]];</sqf>


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


|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
}}
}}
{{GameCategory|arma3|New Scripting Commands}}
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
{{GameCategory|arma3|Scripting Commands}}

Latest revision as of 22:43, 28 June 2022

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