Jump to navigation Jump to search
void FadeTo (int red, int green, int blue, fixed amount, fixed seconds);
Fades the activator's view from the current palette flash to another one. This will also work if the activator is looking through another viewpoint. (Using a camera, etc)
- red: Amount of red in the flash from 0-255.
- green: Amount of green in the flash from 0-255.
- blue: Amount of blue in the flash from 0-255.
- amount: Intensity of the flash from 0.0-1.0. Note this REQUIRES a decimal, or it will not work!
- seconds: Time needed to complete the fade in seconds. This requires a decimal as well, or the transition will be instant.