Function; HW2_rgb - HWRM/KarosGraveyard GitHub Wiki
HW2_rgb(, , )
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".
HW2_rgb(230, 230, 230)
<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)
Updated Formatting? Initial
Updated for HWRM? Initial