BIS_fnc_displayColorGet
- Arma 3 v0.50
- First in Take On Helicopters v1.00
Function · Markdown · JSON · original wiki page
Description
Loads custom color settings from CfgUIDefault.
If variables are not stored in profileNamespace yet, the function will declare them.
Arma 3 v1.99
|
Take On Helicopters v1.00
|
Syntax
Syntax 1
[tag, variable] call BIS_fnc_displayColorGet
Parameters:
tag: String - tag defined in CfgUIDefaultvariable: String - variable defined in "CfgUIColors" >> Variables
Returns: Array - in format Color (RGBA)
Syntax 2
init call BIS_fnc_displayColorGet
Parameters:
init: Boolean - when used, function will initialize all color presets
Returns: Nothing
Examples
Example 1
["GUI", "BCG_RGB"] call BIS_fnc_displayColorGet;//Returns menu color
See also
Color · BIS_fnc_colorRGBtoHTML · BIS_fnc_colorRGBAtoHTML · BIS_fnc_colorRGBAtoTexture