BIS_fnc_displayColorGet
Jump to navigation
Jump to search
Description
- Description:
- Loads custom color settings from CfgUIDefault.
If variables are not stored in profileNamespace yet, the function will declare them.
Available variables (Arma 3 v1.99):
"IGUI"
- "BCG_RGB" (Backgrounds)
- "TEXT_RGB" (Active Elements)
- "WARNING_RGB" (Warinings)
- "ERROR_RGB" (Errors)
- "TACTPING_RGB" (Tactical Ping)
"GUI"
- "BCG_RGB" (Background)
- "TITLETEXT_RGB"(Title Text)
"Map"
- "BLUFOR"
- "OPFOR"
- "Independent"
- "Civilian"
- "Unknown"
"Subtitles"
- "Background"
- "Text"
- Execution:
- call
- Groups:
- Uncategorised
Syntax
- Syntax:
- [tag,variable] call BIS_fnc_displayColorGet;
- Parameters:
- tag: String - Tag defined in CfgUIDefault
- variable: String - Variable defined in "CfgUIColors" >> Variables
- Return Value:
- Array - in format Color
Alternative Syntax
- Syntax:
- init call BIS_fnc_displayColorGet;
- Parameters:
- init: Boolean - when used, function will initialize all color presets
- Return Value:
- Nothing
Examples
- Example 1:
["GUI","BCG_RGB"] call BIS_fnc_displayColorGet;
Returns menu color
Additional Information
- See also:
- See also needed
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note