Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Leaving map script
Kyle Offline
Posting Freak

Posts: 911
Threads: 36
Joined: Sep 2010
Reputation: 7
#6
RE: Leaving map script

It appears some people don't know how to tell what to do correctly... :/

void CollideCorridorSix(string &in asParent, string &in asChild, int alState)
{
     FadeOut(1);
     PlaySoundAtEntity("", "enabled01.snt", "Player", 0, false);
     AddTimer("", 1.5, "Loadmap");
}
void Loadmap(string &in asTimer)
{
     ChangeMap("floor.map", "PlayerStartArea_2", "", "");
}

If the rest of your script is right, then it should work.

(This post was last modified: 08-28-2011, 03:23 PM by Kyle.)
08-28-2011, 03:21 PM
Find


Messages In This Thread
Leaving map script - by SilentStriker - 08-28-2011, 12:54 PM
RE: Leaving map script - by JenniferOrange - 08-28-2011, 02:11 PM
RE: Leaving map script - by SilentStriker - 08-28-2011, 02:48 PM
RE: Leaving map script - by MegaScience - 08-28-2011, 03:14 PM
RE: Leaving map script - by SilentStriker - 08-28-2011, 03:18 PM
RE: Leaving map script - by Henriksen - 08-28-2011, 03:23 PM
RE: Leaving map script - by Kyle - 08-28-2011, 03:21 PM
RE: Leaving map script - by SilentStriker - 08-28-2011, 03:21 PM
RE: Leaving map script - by SilentStriker - 08-28-2011, 03:27 PM
RE: Leaving map script - by MegaScience - 08-28-2011, 03:39 PM
RE: Leaving map script - by SilentStriker - 08-28-2011, 03:39 PM
RE: Leaving map script - by SilentStriker - 08-28-2011, 04:42 PM
RE: Leaving map script - by Obliviator27 - 08-28-2011, 04:44 PM



Users browsing this thread: 2 Guest(s)