BIS fnc displayColorGet: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Created page with "{{Function|= Comments ____________________________________________________________________________________________ | TKOH |= Game name |1.00|= Game version ____________________...")
mNo edit summary
Line 7: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Loads custom [[Interface_Colors|color settings]] from CfgUIDefault. |= Description
| Loads custom [[Interface_Colors|color settings]] from CfgUIDefault.
 
If variables are not stored in [[profileNameSpace]] yet, function will declare them. |= Description
____________________________________________________________________________________________
____________________________________________________________________________________________


Line 17: Line 19:


| [[Array]] - in format [[Color]] |= Return value
| [[Array]] - in format [[Color]] |= Return value
____________________________________________________________________________________________
|s2= init call BIS_fnc_displayColorGet; |= Syntax 2
|p21= init: [[Boolean]] - when used, function will initialize all color presets |= Parameter 1
|r2= [[Nothing]] |= Return value 2
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   

Revision as of 08:55, 24 October 2011

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