Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Teleporting

bargain Walcott
Registered User
Join date: 31 Oct 2005
Posts: 248
11-21-2005 17:28
Hi all,

Can you set a teleportation script to be able to teleport you to two or three different locations from the same script? If so, how would you do this?

Thanks in advance.
Osgeld Barmy
Registered User
Join date: 22 Mar 2005
Posts: 3,336
11-21-2005 19:15
/15/c9/18558/1.html

kinda like what your looking for ... but is this for a group or just you or anyone? it makes a difference on how to approch the question :)
Bertha Horton
Fat w/ Ice Cream
Join date: 19 Sep 2005
Posts: 835
11-21-2005 20:50
You should call llDialog and have buttons indicating destinations. Set llSitTarget based on which button was pressed. Then, if the name of the button pusher is not on the accepted list, you can llSitTarget to a jail location or off-property instead.

I also have my teleport mechanism to have a valid llSitTarget for 10 seconds, after which it reverts to "nowhere". That way you can't activate it for someone else.
_____________________

Trapped in a world she never made!
bargain Walcott
Registered User
Join date: 31 Oct 2005
Posts: 248
11-21-2005 22:16
Yours sounds like exactly what I'm looking for Bertha. Is there any chance of getting a copy :)
Bertha Horton
Fat w/ Ice Cream
Join date: 19 Sep 2005
Posts: 835
11-21-2005 23:55
Well, my script still has 2 bugs in it so it isn't on general release yet:

1. It was waiting the full 10 seconds without unsitting whatsoever;
2. Once used, the teleport prim vanished and wouldn't come back until I relogged into SL.

Back to the typing board. :)
_____________________

Trapped in a world she never made!
bargain Walcott
Registered User
Join date: 31 Oct 2005
Posts: 248
11-22-2005 11:29
Thanks. I found one to fit my needs but I would still like to try yours out when you have it ready.
Kenn Nilsson
AeonVox
Join date: 24 May 2005
Posts: 897
11-22-2005 15:29
From: Bertha Horton
Well, my script still has 2 bugs in it so it isn't on general release yet:

1. It was waiting the full 10 seconds without unsitting whatsoever;
2. Once used, the teleport prim vanished and wouldn't come back until I relogged into SL.

Back to the typing board. :)



Are you using a ten second llSleep? Or are you using a 10 second llSetTimerEvent?
_____________________
--AeonVox--

Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms chasing ghosts, eating magic pills, and listening to repetitive, addictive, electronic music.
Bertha Horton
Fat w/ Ice Cream
Join date: 19 Sep 2005
Posts: 835
11-22-2005 18:05
From: Kenn Nilsson
Are you using a ten second llSleep? Or are you using a 10 second llSetTimerEvent?
I use a 1 second llSetTimerEvent so as to unsit ASAP, but it apparently runs into the 10 second llSleep called after llSitTarget is changed. Probably a workaround, but I'm busy right now.
_____________________

Trapped in a world she never made!
bargain Walcott
Registered User
Join date: 31 Oct 2005
Posts: 248
11-23-2005 06:24
I found some really good ones so I won't be needing any more help on this subject. Thank you for all the help.