BIS fnc colorConfigToRGBA: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - "\[\[Category\:Function Group\: Misc(\|\{\{[a-zA-Z0-9_:]+\}\})?\]\]" to "") |
Lou Montana (talk | contribs) m (Some wiki formatting) |
||
(24 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{RV|type=function | ||
| arma3 | | |game1= arma3 | ||
|version1= 1.00 | |||
| | |gr1= Arrays | ||
| Converts config color format to RGBA array of numbers. | |descr= Converts config color format to RGBA array of numbers. | ||
| configColor call [[BIS_fnc_colorConfigToRGBA]] | |s1= configColor call [[BIS_fnc_colorConfigToRGBA]] | ||
|p1= configColor: [[Array]] - config color | |p1= configColor: [[Array]] - config color | ||
| [[ | |r1= [[Array]] format [[Color|Color (RGBA)]] | ||
|x1= < | |x1= <sqf>["0.5 + 0.25",0,0,1] call BIS_fnc_colorConfigToRGBA; // returns [0.75,0,0,1]</sqf> | ||
| [[Color]] | |seealso= [[Color|Color (RGBA)]] [[BIS_fnc_colorRGBtoHTML]] [[BIS_fnc_colorRGBAtoHTML]] [[BIS_fnc_colorRGBAtoTexture]] | ||
}} | }} | ||
Latest revision as of 23:17, 12 July 2022
Description
Syntax
- Syntax:
- configColor call BIS_fnc_colorConfigToRGBA
- Parameters:
- configColor: Array - config color
- Return Value:
- Array format Color (RGBA)
Examples
- Example 1:
Additional Information
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