BIS fnc colorConfigToRGBA: Difference between revisions
Jump to navigation
Jump to search
m (template:command argument fix) |
Lou Montana (talk | contribs) m (Some wiki formatting) |
||
(29 intermediate revisions by 3 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