Frictional Games Forum (read-only)
Fading Out Then Changing Maps? - 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: Fading Out Then Changing Maps? (/thread-10082.html)



Fading Out Then Changing Maps? - SonOfLiberty796 - 08-31-2011

Quite a simple question really, how do I make the script change maps RIGHT when the countdown of the fade out is done? I've searched around, but couldn't find any answers :/

Thanks.


RE: Fading Out Then Changing Maps? - Your Computer - 08-31-2011

You use a timer that activates at the time it takes to fully fade out. The timer calls a function that contains the ChangeMap() function.


RE: Fading Out Then Changing Maps? - SonOfLiberty796 - 08-31-2011

(08-31-2011, 09:25 PM)Your Computer Wrote: You use a timer that activates at the time it takes to fully fade out. The timer calls a function that contains the ChangeMap() function.

Ah! I think I get you, let me try it out...

EDIT: So my function line should be this correct?: "AddTimer("ChangeMap", 9, "ChangeMap()");"

EDIT2: Wait, I finally got the script to work...testing it out now...YES IT WORKS! Thank you so much friend! Big Grin