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?
MissMarilynn Offline
Member

Posts: 77
Threads: 23
Joined: Oct 2011
Reputation: 1
#5
RE: How do I make a ladder teleport you to next level?

(01-09-2012, 07:53 PM)Inurias Wrote: 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
*facepalm* I should've learned that by now haha. I'm terribly sick today so my brains not working at full XP Thank you so much.
01-09-2012, 07:56 PM
Find


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



Users browsing this thread: 1 Guest(s)