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
Script Help Teleportation!
PutraenusAlivius Offline
Posting Freak

Posts: 4,713
Threads: 75
Joined: Dec 2012
Reputation: 119
#5
RE: Teleportation!

void OnStart()
{
AddEntityCollideCallback("Player", "SATeleport", "PlrTeleport", true, 1); //SATeleport is the area where you teleport.
}

void PlrTeleport(string &in asParent, string &in asChild, int alState)
{
TeleportPlayer("PlrStart"); //PlrStart is the area where you will be teleported.
}

"Veni, vidi, vici."
"I came, I saw, I conquered."
05-12-2013, 12:49 AM
Find


Messages In This Thread
Teleportation! - by VillainousPotato - 05-12-2013, 12:10 AM
RE: Teleportation! - by Daemian - 05-12-2013, 12:24 AM
RE: Teleportation! - by VillainousPotato - 05-12-2013, 12:30 AM
RE: Teleportation! - by Streetboat - 05-12-2013, 12:41 AM
RE: Teleportation! - by PutraenusAlivius - 05-12-2013, 12:49 AM
RE: Teleportation! - by VillainousPotato - 05-12-2013, 12:58 AM
RE: Teleportation! - by PutraenusAlivius - 05-12-2013, 01:02 AM
RE: Teleportation! - by VillainousPotato - 05-12-2013, 01:09 AM
RE: Teleportation! - by PutraenusAlivius - 05-12-2013, 01:17 AM
RE: Teleportation! - by VillainousPotato - 05-12-2013, 01:21 AM



Users browsing this thread: