Homeworld 2 : FunctionHW2_rgb
Karos Graveyard ::
Function Reference :: Scope Reference :: Variable Reference
HW2_rgb(, , )

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:
:: ::
Hide Download Bar
Ctrl + Shift + Z = Show/Hide Download Bar
Downloads
Download Manager (S3)
Clear
Left Click: Clear All Finished
Right Click: Undo last clear
100%
Download History
Download list is empty