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
Leveldoor N00B
Kyle Offline
Posting Freak

Posts: 911
Threads: 36
Joined: Sep 2010
Reputation: 7
#2
RE: Leveldoor N00B

void OnStart()
{
SetEntityPlayerInteractCallback("DoorName", "TeleportFunction", true);
}
void TeleportFunction(string &in asEntity)
{
ChangeMap("MapName", "PlayerStartArea_1", "", "");
}

That should work, ask me any questions if you need help.

05-02-2011, 11:46 AM
Find


Messages In This Thread
Leveldoor N00B - by X4anco - 05-02-2011, 11:39 AM
RE: Leveldoor N00B - by Kyle - 05-02-2011, 11:46 AM
RE: Leveldoor N00B - by X4anco - 05-02-2011, 11:48 AM
RE: Leveldoor N00B - by Kyle - 05-02-2011, 11:53 AM
RE: Leveldoor N00B - by Roenlond - 05-02-2011, 11:54 AM
RE: Leveldoor N00B - by X4anco - 05-02-2011, 11:56 AM



Users browsing this thread: 2 Guest(s)