Arma 3 Scripting

Function in GUI

BIS_fnc_displayColorSet

Also available as Markdown and JSON, or read the 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