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
Henriksen Offline
Senior Member

Posts: 308
Threads: 71
Joined: Dec 2010
Reputation: 2
#8
RE: Leaving map script

(08-28-2011, 03:18 PM)SilentStriker Wrote: Yes I know i changed it in the script but I strange enough still can't get it to change map.. :/ this is how my script looks like
void CollideCorridorSix(string &in asParent, string &in asChild, int alState)
{
FadeOut(1);
PlaySoundAtEntity("Fade_Screen_Sound", "grunt/enabled", "Player", 0, true);
AddTimer("Loadmap", 1.5f, "Loadmap");
}

void Loadmap(string &in asParent, string &in asChild, int alState)
{
ChangeMap("floor", "PlayerStartArea_2", "", "");
}

Is the new map called "floor"? Or is the PlayerStartArea in the same map as the one you fade out in?

08-28-2011, 03:23 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: 3 Guest(s)