Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Certain Type Of Teleporter

Powerspot Destiny
Registered User
Join date: 2 Nov 2007
Posts: 71
08-21-2008 16:35
Awhile back I bought a skybox that had a "UP" and "DOWN" teleporter included with it........there was no need for setting coordinates because all it did was send you a certain settable distance "UP" or "DOWN"...........so no matter where you rezz it, it will automatically send you to a specified distance above or below you........I'm attempting to contact the creator of the TP system to see if they will sell me a full perm version for commercial use but was wondering if anyone else new of other teleporters that work this way.......preferably one that has a full perm version so it will work with my rezz system.
Thank You
Tali Rosca
Plywood Whisperer
Join date: 6 Feb 2007
Posts: 767
08-21-2008 17:11
"Sit teleport".
Edited to take rotation of teleporter prim into account. It "calibrates", i.e. sets a new sit target when rezzed or reset.

// Just change these values:
// Text to show on the pie menu:
string text = "Teleport";
// Offset to teleport people:
vector offset = <0, 0, 5>;
// Facing when people land, counted as degrees from facing East. (I.e. East is 0, North is 90, West is 180 and South is 270
float rot = 180;

// No need to change below
init()
{
llSitTarget(offset / llGetRot(), llEuler2Rot(<0.0, 0.0, rot> * DEG_TO_RAD) / llGetRot());
}

default
{
state_entry()
{
llSetSitText("Teleport";);
init();
}

on_rez(integer i)
{
init();
}

changed(integer c)
{
if (c && CHANGED_LINK)
{
key k;
if ((k=llAvatarOnSitTarget()) != NULL_KEY)
{
llUnSit(k);
}
}
}
}
Isablan Neva
Mystic
Join date: 27 Nov 2004
Posts: 2,907
08-21-2008 19:36
You can also contact Dnate Mars, I've hired him to build a system for me like you describe, I'm sure he'd love another customer for it.
_____________________

http://slurl.com/secondlife/TheBotanicalGardens/207/30/420/
Ceera Murakami
Texture Artist / Builder
Join date: 9 Sep 2005
Posts: 7,750
08-22-2008 06:36
From: Tali Rosca
"Sit teleport".
Edited to take rotation of teleporter prim into account. It "calibrates", i.e. sets a new sit target when rezzed or reset.

Interesting. Seems to have a limit of 300 M delta from where you are, though. For example, if I set it to 1000 M, and if the prim is at 26 M, the avatar re-appears at 326 Meters, not 1026.
_____________________
Sorry, LL won't let me tell you where I sell my textures and where I offer my services as a sim builder. Ask me in-world.
Tali Rosca
Plywood Whisperer
Join date: 6 Feb 2007
Posts: 767
08-22-2008 07:21
Yes; that is the limit of a sit target. Otherwise you need other, more "teleport-like" techniques.
See /327/ee/273982/1.html for a little more talk about that.