03-25-2013, 10:05 PM
I can't seem to find the proper function to return the screen's sepia back to normal. I currently have this:
I tried using FadeIn(5) as well, but that didn't seem to work either.
Code:
void MobEffect(string &in asEntity, int alState) {
StartScreenShake(0.2f, 2, 0.1f, 0.5f);
FadeSepiaColorTo(2, 1);
AddTimer("", 5, "ModEffect2");
}
void MobEffect2(string &in asTimer) {
FadeSepiaColorTo(0, 1);
}
I tried using FadeIn(5) as well, but that didn't seem to work either.