setHUDMovementLevels: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (arma3 category)
m (Text replacement - "\|x([0-9])= <sqf>([^\/: ]+)([^;])<\/sqf>" to "|x$1= <sqf>$2$3;</sqf>")
 
(28 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{Command|= Comments
{{RV|type=command
____________________________________________________________________________________________


| arma3 |= Game name
|game1= arma3
|version1= 0.50


|0.50|= Game version
|gr1= Interaction
____________________________________________________________________________________________


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


| '''setHUDMovementLevels''' [minSpeed, maxSpeed, minAlt, maxAlt, minDir, maxDir, target or position] |= Syntax
|s1= [[setHUDMovementLevels]] [minSpeed, maxSpeed, minAlt, maxAlt, minDir, maxDir, targetOrPosition]


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


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


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


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


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


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


|p7= maxDir: [[Number]] - Units: deg |= PARAMETER7
|p7= targetOrPosition: [[Object]] or [[Position]]


|p8= position: [[Array]] - [x,y,z] |= PARAMETER8
|r1= [[Nothing]]


| [[Nothing]] |= RETURNVALUE
|x1= <sqf>setHUDMovementLevels [20, 30, -1, -1, 0.23, 2.1, [0,0,0]];</sqf>


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


|x1= <code>setHUDMovementLevels [20,30,-1,-1,0.23,2.1]</code>|= EXAMPLE1
|seealso=
 
____________________________________________________________________________________________
 
|  |= SEEALSO
 
|  |= MPBEHAVIOUR
____________________________________________________________________________________________
}}
}}
<h3 style='display:none'>Notes</h3>
<dl class='command_description'>
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>
<h3 style='display:none'>Bottom Section</h3>
[[Category:Arma 3: New Scripting Commands List|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]

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