Reverse FadeSepiaColorTo - Printable Version +- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum) +-- Forum: Amnesia: The Dark Descent (https://www.frictionalgames.com/forum/forum-6.html) +--- Forum: Custom Stories, TCs & Mods - Development (https://www.frictionalgames.com/forum/forum-38.html) +---- Forum: Development Support (https://www.frictionalgames.com/forum/forum-39.html) +---- Thread: Reverse FadeSepiaColorTo (/thread-20923.html) |
Reverse FadeSepiaColorTo - eagledude4 - 03-25-2013 I can't seem to find the proper function to return the screen's sepia back to normal. I currently have this: Code: void MobEffect(string &in asEntity, int alState) { I tried using FadeIn(5) as well, but that didn't seem to work either. RE: Reverse FadeSepiaColorTo - Adrianis - 03-25-2013 (03-25-2013, 10:05 PM)eagledude4 Wrote: I can't seem to find the proper function to return the screen's sepia back to normal. I currently have this: FadeSepiaColorTo(0, 1); That does work - your problem is with the name of the callback in the timer, it doesn't match the function name below it AddTimer("", 5, "ModEffect2"); void MobEffect2(string &in asTimer) RE: Reverse FadeSepiaColorTo - eagledude4 - 03-25-2013 Herp Derp, nothing to see here. |