FANDOM



HW2_rgb(<iRed>, <iGreen>, <iBlue>)
Description
Converts standard RGB color components to an integer value required by the EventPointer_AddSobGroup function.
Note: this function is defined in "\Homeworld2\Data\Scripts\SCAR\SCAR_Util.lua".
Example
HW2_rgb(230, 230, 230)
Arguments
<iRed>: the red component of the color. (0 to 255)
<iGreen>: the green component of the color. (0 to 255)
<iBlue>: the blue component of the color. (0 to 255)
Related Pages


Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.