BIS fnc HUDLimits: Difference between revisions
Jump to navigation
Jump to search
Tag: Undo |
Lou Montana (talk | contribs) m (codecomment → cc) |
||
Line 35: | Line 35: | ||
| [[Array]] - current value of [[HUDMovementLevels]] | | [[Array]] - current value of [[HUDMovementLevels]] | ||
|x1= <code><nowiki>[</nowiki>[0,0,0], [1, 0, 50], [0,0,0]] [[call]] [[BIS_fnc_HUDLimits]]; {{ | |x1= <code><nowiki>[</nowiki>[0,0,0], [1, 0, 50], [0,0,0]] [[call]] [[BIS_fnc_HUDLimits]]; {{cc|limits altitude on HUD to 50m max}}</code> | ||
|x2= <code><nowiki>[</nowiki>[0,0,0], [0, 0, 0], [1,330,30, myTarget]] [[call]] [[BIS_fnc_HUDLimits]]; {{ | |x2= <code><nowiki>[</nowiki>[0,0,0], [0, 0, 0], [1,330,30, myTarget]] [[call]] [[BIS_fnc_HUDLimits]]; {{cc|limits orientation towards myTarget by ±30°}}</code> | ||
| [[HUDMovementLevels]], [[setHUDMovementLevels]] | | [[HUDMovementLevels]], [[setHUDMovementLevels]] |
Revision as of 16:53, 7 February 2021
Description
- Description:
- Description needed
- Execution:
- call
- Groups:
- GUI
Syntax
- Syntax:
- Syntax needed
- 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:
- Return value needed
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:
- 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