BIS fnc HUDLimits: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - "|Game version=" to "|Game version= |gr1= GUI |GROUP1=") |
m (Text replacement - "\[\[Category\:Function Group\: GUI(\|\{\{[a-zA-Z0-9_:]+\}\})?\]\]" to "") |
||
Line 56: | Line 56: | ||
<h3 style="display:none">Bottom Section</h3> | <h3 style="display:none">Bottom Section</h3> | ||
[[Category:{{Name|arma3}}: Functions|{{uc:HUDLimits}}]] | [[Category:{{Name|arma3}}: Functions|{{uc:HUDLimits}}]] |
Revision as of 16:03, 10 October 2020
Description
- Description:
- Set helicopter advanced flight model HUD limits and prevents overwriting existing values. See also setHUDMovementLevels.
Notes:- default value is 0, which means no limits were assigned
- using 0 in min or max value will hide the corresponding limit
- same or higher priority will replace currently set priority
- using a negative priority will reset the values if absolute value is same or higher than current level
- Execution:
- call
- Groups:
- GUI
Syntax
- Syntax:
- [speedLimit, altLimit, dirLimit] call BIS_fnc_HUDLimits
- Parameters:
- speedLimit: Array in format [priority, min, max]:
- altLimit: Array in format [priority, min, max]:
- dirLimit: Array in format [priority, min, max, target]:
- Return Value:
- Array - current value of HUDMovementLevels
Examples
- Example 1:
[[0,0,0], [1, 0, 50], [0,0,0]] call BIS_fnc_HUDLimits; // limits altitude on HUD to 50m max
- Example 2:
[[0,0,0], [0, 0, 0], [1,330,30, myTarget]] call BIS_fnc_HUDLimits; // limits orientation towards myTarget by ±30°
Additional Information
- See also:
- HUDMovementLevelssetHUDMovementLevels
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