Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Multiple location teleporter

Sherman Gustafson
Registered User
Join date: 5 Sep 2007
Posts: 28
09-11-2007 11:10
Hi,

I have a building with 6 floors. On each floor, I have 6 spheres with a teleport script that will take you to a desired floor.

However, I'd like to combine them into one object which will display a menu of all the floors you can choose. Then, once you select a floor, it will load the correct teleport script and take you to that floor.
Altern8 McMillan
Registered User
Join date: 27 Mar 2007
Posts: 36
09-11-2007 18:38
that's interesting. but where's ur question?

greetz

a8
Auron Reardon
Registered User
Join date: 30 Jun 2006
Posts: 41
09-11-2007 21:38
There are alot of multi-location tp scripts you can find (and probably several in the library). Take a look at them. For the record, in your case, you are not really teleporting agents, you are just sitting them very far from what they are clicking on.

In the end, you are setting llSitTarget and having the agent sit on your object.

So, per your question, you could do an llDialog (on the touch_start of your single object) which has buttons for each floor. When the user responds to the dialog though, you will have to have the single object set its sit target and then the user will have to right click and choose sit. You won't be able to shoot them off in direct response to the dialog box.

Another way to do multi location faux tp is have the touch_start event toggle through a list of locations, each time changing llSitTarget as well as llSetText (or maybe changing textures) so the user can see which location is currently selected. Then, when they have the one they want, they sit and go.