# SetRGBaValue

Arithmetics
4.9.1.0 GWE
int
int Val 32 bit color value
int NewVal 0-255: Color value to be replaced with the old one.
int select 0-3: Color value to be changed.
Sets a single color value of a 32 bit color value.

select
Selection
0
Alpha value
1
Red value
2
Green value
3
Blue value

SetColorDw(SetRGBaValue(GetColorDw(GetCursor()),255,1),GetCursor());
Sets the red value of the current clonk to maximum.
GetRGBaValue
DoRGBaValue
Tyron
2004-08