Frictional Games Forum (read-only)
Fade In Animation - 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 (https://www.frictionalgames.com/forum/forum-35.html)
+--- Thread: Fade In Animation (/thread-7354.html)



Fade In Animation - KHShox - 04-14-2011

Alright, I want to make a fade in animation so that when the player FIRST starts the game, he will slowly wake up in his bed. How would I go about doing this?
Big Grin


RE: Fade In Animation - Tanshaydar - 04-14-2011

FadeOut(0);
FadeIn(3);

Next time searching will be much helpful & useful.


RE: Fade In Animation - palistov - 04-14-2011

I don't think you can do FadeOut() and FadeIn() in the same function. I heard it caused problems. Try fading out in your OnStart(), then adding a timer to call a FadeIn() function.


RE: Fade In Animation - Tanshaydar - 04-14-2011

I'm using it and it didn't cause me any problems. Where did you hear from?


RE: Fade In Animation - Dalroc - 04-14-2011

(04-14-2011, 02:25 AM)palistov Wrote: I don't think you can do FadeOut() and FadeIn() in the same function. I heard it caused problems. Try fading out in your OnStart(), then adding a timer to call a FadeIn() function.
I do it in several scripts for several maps, never experienced any problems..


RE: Fade In Animation - MrBigzy - 04-14-2011

I think it was only on OnStart that it wouldn't work, not sure. Don't really feel like testing it D: