Written 17 June, 2009
Full-Perm Long-Distance Teleport Script
I’ve known about the Warp Pos script for a long time, but I was never able to make it work.
And besides, it didn’t work beyond about 1000 meters, which is insufficient to reach today’s building ceiling of 4096 meters.
For a long time I’ve been using a Warp Pos teleport script Peter Stindberg was kind enough to give me, but I’d been needing a script that would extend to 4096, and I preferred one with full perms. So last night I thought I would look one last time in the Forums for a long-distance (4km) teleport script—and I found one!
I jumped to a sandbox (didn’t want to lose the prim holding the script somewhere on Whimsy) and pasted in the script I had copied from the forum post.
OMG! It compiled!
The script works gets its information from the Description field. It took a few tries to get the destination vector and other parameters formatted correctly, but I eventually prevailed.
Then I sat on the prim.
No woo hoo.
I was told I wasn’t allowed to teleport.
After digging around in the script a bit I found a conditional that for some reason was disallowing me to teleport and disabled it. I sat on the script and was promptly whisked 4000 meters into the sky.
When you sit on a teleport object, it travels with you. When I arrived at my destination, I saw the prim clearly before it returned to its origin position.
So I flew back down (well, I let myself fall), put in statements to turn the prim alpha after I saw on it and visible again after it returned home, and I soon had a working teleport script.
I’m still not quite satisfied (do I want to remove the one second pauses after sitting and after teleport is complete?), so I’ll continue to tweak. Meanwhile, you can find the script here on Whimsy, or IM me and I’ll send you an object with my latest mod of the script inside it, full perm. Please do not remove the original creator's language, which is embedded in the code.
To test the script, travel to the entry area of Whimsy and touch one of the small brown destination signs. You can grab your copy at my Flights of Fancy store.