setHUDMovementLevels: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\{\{GameCategory\|(arma[0123])\|[ _]?New[ _]Scripting[ _]Commands[ _]List\}\}" to "{{GameCategory|$1|New Scripting Commands}}")
m (Text replacement - "\|x([0-9])= <sqf>([^\/: ]+)([^;])<\/sqf>" to "|x$1= <sqf>$2$3;</sqf>")
 
(15 intermediate revisions by 2 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


|gr1= Interaction |GROUP1=
|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.  |DESCRIPTION=
|s1= [[setHUDMovementLevels]] [minSpeed, maxSpeed, minAlt, maxAlt, minDir, maxDir, targetOrPosition]
____________________________________________________________________________________________


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


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


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


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


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


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


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


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


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


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


 
|seealso=
|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
 
____________________________________________________________________________________________
 
|  |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>
{{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