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
Relative teleport
GraphicsKid Offline
Senior Member

Posts: 258
Threads: 34
Joined: Dec 2010
Reputation: 3
#6
RE: Relative teleport

(01-13-2011, 02:54 PM)Frontcannon Wrote:
AddEntityCollideCallback("Player", "TeleportCollideArea", "EndlessTeleport", false, 1);

void EndlessTeleport(string &in asParent, string &in asChild, int alState)
{
    TeleportPlayer("TeleportArea");
}

That's basically all you do.

Nah that doesn't work. I mean it "works", but the player knows when they've teleported. The idea is to make an infinite hallway, but to do this, you just keep teleporting them backwards but so they don't notice they've teleported.

@thePyro
Yea that's where I got the idea from. About them turning around, this would be a pitch black hallway, and all they've have was their lantern. If they turned around, all they'd see were the walls, ceiling, and floor, the darkness blotting out the corner they turned to get into the hallway. It's a pretty long hallway on it's own.

Perhaps though... maybe if I made enough area triggers, enough thin little slices, maybe the player wouldn't notice the teleport... what does it take to activate an area? Does the players origin enter it, or is it when the cylinder bounding the player collides with the area box?
01-14-2011, 08:10 PM
Find


Messages In This Thread
Relative teleport - by GraphicsKid - 01-12-2011, 09:16 AM
RE: Relative teleport - by jens - 01-12-2011, 11:35 AM
RE: Relative teleport - by GraphicsKid - 01-13-2011, 12:26 AM
RE: Relative teleport - by thePyro13 - 01-13-2011, 02:04 PM
RE: Relative teleport - by Frontcannon - 01-13-2011, 02:54 PM
RE: Relative teleport - by GraphicsKid - 01-14-2011, 08:10 PM
RE: Relative teleport - by Frontcannon - 01-14-2011, 09:21 PM
RE: Relative teleport - by GraphicsKid - 01-14-2011, 11:47 PM
RE: Relative teleport - by Frontcannon - 01-14-2011, 11:58 PM
RE: Relative teleport - by xiphirx - 01-15-2011, 12:52 AM
RE: Relative teleport - by GraphicsKid - 01-15-2011, 01:04 AM
RE: Relative teleport - by Andross - 01-15-2011, 01:17 AM
RE: Relative teleport - by xiphirx - 01-15-2011, 01:14 AM
RE: Relative teleport - by GraphicsKid - 01-15-2011, 02:22 AM
RE: Relative teleport - by Rurikkur - 01-16-2011, 05:11 PM
RE: Relative teleport - by GraphicsKid - 01-22-2011, 11:01 PM



Users browsing this thread: 1 Guest(s)