Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Teleportation

Nyara Squeegee
Registered User
Join date: 2 Jan 2006
Posts: 30
05-04-2006 11:11
Is there a way to setup a simple script to teletport to another region? I can set the coordinates, but I want it in another region. Thanks =^.^=
_____________________
DJ Nyara
Techno is my second life!
Siobhan Taylor
Nemesis
Join date: 13 Aug 2003
Posts: 5,476
05-04-2006 11:16
From: Nyara Squeegee
Is there a way to setup a simple script to teletport to another region? I can set the coordinates, but I want it in another region. Thanks =^.^=
Not currently with a script. There's lots of talk about the up and coming llTeleportAgent() command, but so far, talk is all there's been.
_____________________
http://siobhantaylor.wordpress.com/
Nyara Squeegee
Registered User
Join date: 2 Jan 2006
Posts: 30
05-04-2006 11:22
Wow, thanks. Well poo, there went that idea. hehehe
_____________________
DJ Nyara
Techno is my second life!
Siobhan Taylor
Nemesis
Join date: 13 Aug 2003
Posts: 5,476
05-04-2006 11:25
From: Nyara Squeegee
Wow, thanks. Well poo, there went that idea. hehehe
It's not all that bad... I asume you're using the offset on llSit()... well, if you want to do the math in advance, you can make a relative teleport (assuming you have the range - and if it's not a diagonal, you should have), though it's not all that reliable.
_____________________
http://siobhantaylor.wordpress.com/
Adriana Caligari
Registered User
Join date: 21 Apr 2005
Posts: 458
05-04-2006 11:42
You can use llMapDestination() to bring up the map and teleport from there.

You feed it region, position and a lookat ( not used ) position.

Eg

string region = "mauve";
vector pos = <128,128,128>;

llMapDestination( region,pos,pos );


Will bring up the map with the red circle alreday in the mauve region and the teleport button ready to be clicked.

Not an instant solution but beats looking it up on the map manually if you already have the region and coords.



(Side note - the first time you do it - it can take a little while for the red circle to appear as the map has to load )
(Another side note - Make sure the region is spelt correctly - unlike above example - Upper and lower case count )
Nyara Squeegee
Registered User
Join date: 2 Jan 2006
Posts: 30
05-04-2006 12:24
From: Siobhan Taylor
It's not all that bad... I asume you're using the offset on llSit()... well, if you want to do the math in advance, you can make a relative teleport (assuming you have the range - and if it's not a diagonal, you should have), though it's not all that reliable.


Yea, I was useing the ||Sit for the script. I hope they do come up with a new command for teleporting.
_____________________
DJ Nyara
Techno is my second life!
Argent Stonecutter
Emergency Mustelid
Join date: 20 Sep 2005
Posts: 20,263
05-04-2006 15:18
From: Siobhan Taylor
It's not all that bad... I asume you're using the offset on llSit()...
My long distance teleporter (at the Coonspiracy store) will do this, but it will warn you if you teleport to another region. Because, well, weird stuff happens when you do that. What kins of weird stuff? Weird stuff that makes you want to relog to make it stop happening, so I'll note that you can usually make it stop by teleporting to another region on the world map to save you taking such an extreme step when you go ahead and try it anyway because if there was a button that would blow up the world and it had a big sign that said "don't push this button under any circumstances, you'll be sorry, I mean it, you'll blow up the whole bloody planet, honest" someone would still push it....

(pauses for breath)

Anyway... you really won't like what happens if you try this. Honest. Don't push the button.
Siobhan Taylor
Nemesis
Join date: 13 Aug 2003
Posts: 5,476
05-04-2006 15:35
From: Argent Stonecutter
My long distance teleporter (at the Coonspiracy store) will do this, but it will warn you if you teleport to another region. Because, well, weird stuff happens when you do that. What kins of weird stuff? Weird stuff that makes you want to relog to make it stop happening, so I'll note that you can usually make it stop by teleporting to another region on the world map to save you taking such an extreme step when you go ahead and try it anyway because if there was a button that would blow up the world and it had a big sign that said "don't push this button under any circumstances, you'll be sorry, I mean it, you'll blow up the whole bloody planet, honest" someone would still push it....

(pauses for breath)

Anyway... you really won't like what happens if you try this. Honest. Don't push the button.
I said it was unreliable...
And yes, I just didn't want to get into specifics... though it's never been *quite* that bad for me... but then I had Siggy to fix the rotations, which helped somewhat.
_____________________
http://siobhantaylor.wordpress.com/