BIS fnc displayColorGet: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (template:command argument fix)
Line 9: Line 9:
| Loads custom [[Interface_Colors|color settings]] from CfgUIDefault.
| Loads custom [[Interface_Colors|color settings]] from CfgUIDefault.


If variables are not stored in [[profileNamespace]] yet, function will declare them. |= Description
If variables are not stored in [[profileNamespace]] yet, function will declare them. |DESCRIPTION=
____________________________________________________________________________________________
____________________________________________________________________________________________


| [tag,variable] call BIS_fnc_displayColorGet; |= Syntax
| [tag,variable] call BIS_fnc_displayColorGet; |SYNTAX=


|p1= tag: [[String]] - Tag defined in CfgUIDefault |= Parameter 1
|p1= tag: [[String]] - Tag defined in CfgUIDefault |= Parameter 1
Line 18: Line 18:
|p2= variable: [[String]] - Variable defined in CfgUIDefault >> Variables |= Parameter 2
|p2= variable: [[String]] - Variable defined in CfgUIDefault >> Variables |= Parameter 2


| [[Array]] - in format [[Color]] |= Return value
| [[Array]] - in format [[Color]] |RETURNVALUE=


____________________________________________________________________________________________
____________________________________________________________________________________________
|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 |= Parameter 1
|p21= init: [[Boolean]] - when used, function will initialize all color presets |= Parameter 1


|r2= [[Nothing]] |= Return value 2
|r2= [[Nothing]] |RETURNVALUE= 2
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
Line 32: Line 32:
____________________________________________________________________________________________
____________________________________________________________________________________________


| |= See also
| |SEEALSO=


}}
}}

Revision as of 11:27, 7 April 2019

Hover & click on the images for description

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

Notes

Bottom Section