Frictional Games Forum (read-only)
Introduction problem - 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: Introduction problem (/thread-17973.html)



Introduction problem - Melvin - 08-26-2012

Ok here is what I want to do:

////You click on Play game (or something) and the game starts

The screen is black, you can only hear something.
after 23 seconds, the screen suddenly fades to the map.

How can I do this? I've had some scripting experience so I know how stuff works.


RE: Introduction problem - FlawlessHappiness - 08-26-2012

FadeOut(float afTime);
Fades the screen to black.
afTime - time in seconds until the screen is completly black

FadeIn(float afTime);
Fades the screen back to normal.
afTime - time in seconds until the screen back to normal


FadeOut(0);
Make a new timer and use FadeIn


RE: Introduction problem - Melvin - 08-26-2012

(08-26-2012, 04:21 PM)beecake Wrote: FadeOut(float afTime);
Fades the screen to black.
afTime - time in seconds until the screen is completly black

FadeIn(float afTime);
Fades the screen back to normal.
afTime - time in seconds until the screen back to normal


FadeOut(0);
Make a new timer and use FadeIn
Dangit I almost had it... Thanks anyways, it worked! I appreciate it!


RE: Introduction problem - FlawlessHappiness - 08-26-2012

Good thing you tried Smile I'm stuck too right now, and i could do something else i guess... But i can't get myself to do it, before i get an answer Sad