BIS fnc HUDLimits: Difference between revisions
Lou Montana (talk | contribs) m (Text replacement - " \| *(\[[a-zA-Z,. ]*\] call ('''|\[\[)?BI(N|S)_fnc_[a-zA-Z]+('''|\]\])?) *  \|p1=" to " |s1=$1  |p1=")  | 
				Lou Montana (talk | contribs)  m (Text replacement - " \| *tkoh * *\| *1.([0-9]{2}) * +\|([^g]|g[^a])" to " | tkoh |1.$1  |game2= arma3 |version2= 0.50  |$2")  | 
				||
| Line 2: | Line 2: | ||
| tkoh  | | tkoh  | ||
|1.00  | |||
|  | |game2= arma3  | ||
|version2= 0.50  | |||
|gr1= GUI  | |gr1= GUI  | ||
Revision as of 21:18, 12 June 2021
Description
- Description:
 - Description needed
 - 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