BIS fnc colorConfigToRGBA: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " " to " ") |
Lou Montana (talk | contribs) m (Some wiki formatting) |
||
(16 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{RV|type=function | {{RV|type=function | ||
| arma3 | |game1= arma3 | ||
|version1= 1.00 | |||
| | |gr1= Arrays | ||
| | |descr= Converts config color format to RGBA array of numbers. | ||
| | |s1= configColor call [[BIS_fnc_colorConfigToRGBA]] | ||
|p1= configColor: [[Array]] - config color | |p1= configColor: [[Array]] - config color | ||
| [[Color|Color (RGBA)] | |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|Color (RGBA)]] | |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