Arma 3 Scripting

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
Tag Variable Description
"IGUI" "BCG_RGB" Backgrounds
"IGUI" "TEXT_RGB" Active Elements
"IGUI" "WARNING_RGB" Warnings
"IGUI" "ERROR_RGB" Errors
"IGUI" "TACTPING_RGB" Tactical Ping
"GUI" "BCG_RGB" Backgrounds
"GUI" "TITLETEXT_RGB" Title Text
"Map" "BLUFOR" BLUFOR
"Map" "OPFOR" OPFOR
"Map" "Independent" Independent
"Map" "Civilian" Civilian
"Map" "Unknown" Unknown
"Subtitles" "Background" Subtitle background
"Subtitles" "Text" Subtitle text
Take On Helicopters v1.00
Tag Variable Description
"IGUI" "IGUI_TEXT_RGB" HUD color RGB
"IGUI" "IGUI_TEXT_COLOR" HUD color RGBA
"GUI" "BCG_RGB" menu background RGB
"GUI" "GUI_BCG_COLOR" menu background RGBA
"GUI" "GUI_BCG_MEDIUM_RGB" button background RGB (darker version of GUI_BCG_RGB)
"GUI" "GUI_BCG_MEDIUM_COLOR" button background RGBA
"GUI" "GUI_BCG_ACTIVE_RGB" active button background color (e.g. focused buttons) RGB

Syntax

Syntax 1

[tag, variable] call BIS_fnc_displayColorGet

Parameters:

Returns: Array - in format Color (RGBA)

Syntax 2

init call BIS_fnc_displayColorGet

Parameters:

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