Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Teleport Help

LaZy Hulka
Registered User
Join date: 11 Apr 2006
Posts: 32
07-16-2006 01:00
I want to make a hud that you wear. That when you click on it theres a window pop up say where you would like to teleport. I want do this with out landmarks. Here where I got.. If you can do this well somone help me. And Thank you :)


key target;
integer lid;
float chann;
integer chan;
list List;
integer listener; key owner;
default
{
touch_start(integer total_number)
{if ( llDetectedKey(0) == llGetOwner() )
{
target = llDetectedKey(total_number - 1);
llDialog(llDetectedKey(total_number - 1),"Teleport Options",["Home", "","","","","" ], chan);
}
}

listen(integer channel, string name, key id, string message)
{
if (message == "Home";)
{

}

}
}
Jesse Malthus
OMG HAX!
Join date: 21 Apr 2006
Posts: 649
07-16-2006 11:40
I think llMapDestination is the function to map a location.
_____________________
Ruby loves me like Japanese Jesus.
Did Jesus ever go back and clean up those footprints he left? Beach Authority had to spend precious manpower.
Japanese Jesus, where are you?
Pragmatic!
Paradigm Brodsky
Hmmm, How do I set this?
Join date: 28 Apr 2004
Posts: 206
07-16-2006 14:56
I was at a store today that had a teleporter that you just click on and it teleports you. Anyone know how that works? I put the cursor over the object and a little chair icon appeared, and then when Iu click, off I went instantly to the teleport location. I throught llMapDestination would do that but all it does is bring up a map and you have to hit the teleport button, but it doesn't actually teleport you. Do you have to beover your own land or something like that inorder to it to actually teleport you? Or is there something else I'm missing?
_____________________
I'll do anything for love, most things for money, and some things for a smile.
Cliffy Palmerstone
Manc in Geordieland
Join date: 15 Sep 2004
Posts: 255
07-16-2006 15:03
http://secondlife.com/badgeo/wakka.php?wakka=llSitTarget

llSitTarget has a max. range of 300m

there is only a limited range of ways to teleport

http://secondlife.com/badgeo/wakka.php?wakka=teleport
_____________________
How do I make a signature?
Ima Mechanique
Registered User
Join date: 25 Feb 2005
Posts: 23
07-16-2006 15:57
From: Paradigm Brodsky

I was at a store today that had a teleporter that you just click on and it teleports you. Anyone know how that works? I put the cursor over the object and a little chair icon appeared, and then when Iu click, off I went instantly to the teleport location. I throught llMapDestination would do that but all it does is bring up a map and you have to hit the teleport button, but it doesn't actually teleport you. Do you have to beover your own land or something like that inorder to it to actually teleport you? Or is there something else I'm missing?


llSitTarget() as mentioned above. And change the default action for clicking the prim to Sitting instead of Touch. That is done from the edit window for the prim, on the General tab
Paradigm Brodsky
Hmmm, How do I set this?
Join date: 28 Apr 2004
Posts: 206
07-18-2006 19:25
OMG I had no idea it could be that simple. You can't believe what I've went through. Thanks so much!
_____________________
I'll do anything for love, most things for money, and some things for a smile.