Arma 3 Scripting

Function in GUI

BIS_fnc_HUDLimits

Also available as Markdown and JSON, or read the original wiki page.

Description

Set helicopter advanced flight model HUD limits and prevents overwriting existing values. See also setHUDMovementLevels.

Note

  • 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

Syntax

[speedLimit, altLimit, dirLimit] call BIS_fnc_HUDLimits

Parameters:

Returns: 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°

See also

HUDMovementLevels · setHUDMovementLevels