Arma 3 Scripting

BIS_fnc_displayColorSet

  • Arma 3 v0.50
  • First in Take On Helicopters v1.00

Function · Markdown · JSON · original wiki page

Description

Applies custom color settings to given Display.

Display must be already using color macros, function will just refresh the values according to current color settings.

Syntax

[displayClass, display, commitTime, code] call BIS_fnc_displayColorSet

Parameters:

Returns: Boolean

Examples

Example 1

[configFile >> (GUI_classes select _forEachIndex), _x] call BIS_fnc_displayColorSet;

Example 2

[
    configFile >> _class,
    _display,
    0,
    {
        _this ctrlSetFade 0;
        _this ctrlCommit 0.5;
    }
] call BIS_fnc_displayColorSet;

See also

BIS_fnc_displayColorGet