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
Level Editor Help How do I make a ladder teleport you to next level?
Inurias Offline
Junior Member

Posts: 20
Threads: 0
Joined: Jan 2012
Reputation: 2
#4
RE: How do I make a ladder teleport you to next level?

Okay, but you should make sure to read through the little script and make sure that you understand what's going on. I hope that you'll learn from it.

void OnStart()
{
    AddEntityCollideCallback("Player", "YourScriptArea", "YourCallBackFunction", true, 1);
}

void YourCallBackFunction(string &in asParent, string &in asChild, int alState)
{
    ChangeMap("YourMapName", "YourStartPosName", "YourStartSound", "YourEndSound");
}

- Inurias
01-09-2012, 07:53 PM
Find


Messages In This Thread
RE: How do I make a ladder teleport you to next level? - by Inurias - 01-09-2012, 07:53 PM



Users browsing this thread: 4 Guest(s)