BIS fnc displayColorGet: Difference between revisions
Jump to navigation
Jump to search
m (template:command argument fix) |
m (template:command argument fix) |
||
Line 14: | Line 14: | ||
| [tag,variable] call BIS_fnc_displayColorGet; |SYNTAX= | | [tag,variable] call BIS_fnc_displayColorGet; |SYNTAX= | ||
|p1= tag: [[String]] - Tag defined in CfgUIDefault |= | |p1= tag: [[String]] - Tag defined in CfgUIDefault |PARAMETER1= | ||
|p2= variable: [[String]] - Variable defined in CfgUIDefault >> Variables |= | |p2= variable: [[String]] - Variable defined in CfgUIDefault >> Variables |PARAMETER2= | ||
| [[Array]] - in format [[Color]] |RETURNVALUE= | | [[Array]] - in format [[Color]] |RETURNVALUE= | ||
Line 23: | Line 23: | ||
|s2= init call BIS_fnc_displayColorGet; |SYNTAX= 2 | |s2= init call BIS_fnc_displayColorGet; |SYNTAX= 2 | ||
|p21= init: [[Boolean]] - when used, function will initialize all color presets |= | |p21= init: [[Boolean]] - when used, function will initialize all color presets |PARAMETER1= | ||
|r2= [[Nothing]] |RETURNVALUE= 2 | |r2= [[Nothing]] |RETURNVALUE= 2 | ||
Line 29: | Line 29: | ||
|x1= <code>["GUI","BCG_RGB"] call BIS_fnc_displayColorGet;</code> | |x1= <code>["GUI","BCG_RGB"] call BIS_fnc_displayColorGet;</code> | ||
Returns menu color|= | Returns menu color|EXAMPLE1= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Revision as of 14:29, 7 April 2019
Description
- Description:
- Loads custom color settings from CfgUIDefault. If variables are not stored in profileNamespace yet, function will declare them.
- Execution:
- call
- Groups:
- Uncategorised
Syntax
- Syntax:
- [tag,variable] call BIS_fnc_displayColorGet;
- Parameters:
- tag: String - Tag defined in CfgUIDefault
- variable: String - Variable defined in CfgUIDefault >> 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