Facebook Twitter YouTube Frictional Games | Forum | Newsletter | Dev Blog | Dev Wiki | Support | Shelf | Store

Privacy Policy


Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Solved Fading Out Then Changing Maps?
Author Message
SonOfLiberty796 Offline
Senior Member

Posts: 369
Joined: Aug 2011
Reputation: 2
Post: #1
Thumbs Up Fading Out Then Changing Maps?
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.
(This post was last modified: 08-31-2011 09:39 PM by SonOfLiberty796.)
08-31-2011 09:20 PM
Find all posts by this user Quote this message in a reply
Your Computer Offline
SCAN ME!

Posts: 3,268
Joined: Jul 2011
Reputation: 223
Post: #2
RE: Fading Out Then Changing Maps?
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.

Tutorials: From Noob to Pro
08-31-2011 09:25 PM
Visit this user's website Find all posts by this user Quote this message in a reply
SonOfLiberty796 Offline
Senior Member

Posts: 369
Joined: Aug 2011
Reputation: 2
Post: #3
RE: Fading Out Then Changing Maps?
(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
(This post was last modified: 08-31-2011 09:33 PM by SonOfLiberty796.)
08-31-2011 09:27 PM
Find all posts by this user Quote this message in a reply
Post Reply 




User(s) browsing this thread: 1 Guest(s)