Category: Objects / Display
Since engine version: 1.0 OC
Changes the color modulation of an object. This is a color value which is multiplied with the object color. RGB(255,0,0) will only let the red part of the color show. RGBa(255,255,255,128) will make all color half transparent.
bool SetClrModulation(int color, int overlay_id);
- Color value to be modulated with.
- [opt] If specified, sets the color modulation of the graphics overlay instead. The overlay must have been created using SetGraphics first.
Colors the selected clonk of the first player slightly blue and makes him half transparent.