BIS fnc colorConfigToRGBA: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " <h3 style="display:none">Notes</h3> <dl class="command_description"> <!-- Note Section BEGIN --> <!-- Note Section END --> </dl>" to "") |
Lou Montana (talk | contribs) m (Some wiki formatting) |
||
(20 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{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]] | ||
| configColor | |p1= configColor: [[Array]] - config color | ||
| | |r1= [[Array]] format [[Color|Color (RGBA)]] | ||
| [ | |x1= <sqf>["0.5 + 0.25",0,0,1] call BIS_fnc_colorConfigToRGBA; // returns [0.75,0,0,1]</sqf> | ||
| | |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