Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Teleport - llSitTarget, Changed Event and Linked Prims

Yingzi Xue
Registered User
Join date: 11 Jun 2008
Posts: 144
08-11-2008 12:22
I am developing a teleporter script. I'm using the llSitTarget and Changed Event with llSetLinkPrimitiveParameters to change the avatar's prim position. In testing I've noticed that the prim with my script in it has to be unlinked or the teleport will fail (dropping at the teleporter prim's position). Is there a way to have a linked set of prims (with the script in the root) and get it to teleport? I tried it with newly created prims, linked them together and still can't teleport unless the root prim is unlinked. Ideas? What am I missing here?
Viktoria Dovgal
Join date: 29 Jul 2007
Posts: 3,593
08-11-2008 14:20
You aren't missing anything, the function is in a somewhat buggy condition at the moment. some restrictions were placed on distances to avoid griefing, but they kick in too early.

The problem with link sets was actually there before the 1.23 server, but the latest changes make it even worse.

For now, you'll get a reasonably reliable teleporter with one prim, at zero rotation when the child avatar is moved, Anything else, you are dependent on sheer luck.
_____________________