Frictional Games Forum (read-only)

Full Version: Introduction problem
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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.
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
(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!
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