Frictional Games Forum (read-only)

Full Version: Fade In Animation
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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
FadeOut(0);
FadeIn(3);

Next time searching will be much helpful & useful.
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'm using it and it didn't cause me any problems. Where did you hear from?
(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..
I think it was only on OnStart that it wouldn't work, not sure. Don't really feel like testing it D: