Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Timed interval teleport

Timelord Tardis
Registered User
Join date: 9 Nov 2005
Posts: 2
02-27-2007 21:17
I am looking for a way to teleport at selected time intervals.

Is this even possible? Granted I am an LSL newbie, but all of the teleport scripts I have seen require you to sit on an object and select teleport from the pie.

I want an object I can attach that will teleport me certain places at regular intervals.
Ed Gobo
ed44's alt
Join date: 20 Jun 2006
Posts: 220
02-28-2007 00:31
You could write that into an object that you attach to yourself.
Talarus Luan
Ancient Archaean Dragon
Join date: 18 Mar 2006
Posts: 4,831
02-28-2007 00:47
Well, you can sit on a prim with a WarpPos teleport that is timed, but there's no other way to actually do a "teleport" without sitting.

You can't wear a WarpPos or SitTarget teleport object as an attachment and have it work; you have to be sitting on the teleporter object for it to work.

Teleporting is generally a hack; maybe one day when they add llTeleportAgent, you'll be able to do something like this, but presently, it is basically not possible to do without sitting.
Nexus Laguna
Registered User
Join date: 20 Dec 2006
Posts: 40
02-28-2007 05:09
From: Timelord Tardis
I am looking for a way to teleport at selected time intervals.

Is this even possible? Granted I am an LSL newbie, but all of the teleport scripts I have seen require you to sit on an object and select teleport from the pie.

I want an object I can attach that will teleport me certain places at regular intervals.


I think the reason you might not have found anything is because of the way current teleporters work. Heres a quick basic description of the way the current state of teleporters work .. how the "hack" works...

- An object is in world with a teleport script.
- An avatar comes along and right-clicks the object.
- The script uses the function llSitText to change the word "Sit" to "Teleport"
- The avatar chooses the text that now says "Teleport"
- The avatar starts sitting and the script runs the changed event, and by using llAvatarOnSitTarget to check if an avatar is sitting on the object, the script then uses llSitTarget to make the avatar sit at certain coordiantes .. i.e. where they want to teleport to.
- The script then runs llUnsit to make the person stop sitting on the object (stand up).

All this happens so quickly that the avatar is "fooled" into believing he/she was magically transported when all they really did was sit somewhere far away from the object and stand up really quickly.

The sit teleport hack does have limitations. I haven't really checked as I haven't had to as yet but apparently the teleport distance is limited to within 300m and I have tested that it cannot cross SIM boundaries.

Hope that helps explain :)