Join us in Outworldz at www.outworldz.com:9000 or follow us:

Search dozens of selected web sites for OpenSim and LSL script

New! Script Meta-Search will search thousands of scripts here and at other sites for LSL or Opensim scripts.
Loading

Want to add a script or a project? Upload it and a half million people will see it and your name here this year.

Home   Show All
Category: Contributor: Creator
Teleport Local_Teleport  

Local_Teleport

his script is useful for anyone needing a tp script attached to something that will be moved and rezzed regularly, such as a home.

Category: Teleport
By : Dustin Widget
Created: 2010-01-10 Edited: 2010-01-10
Worlds: Second Life

the Zip file

Download all files for Local_Teleport
Contents are in zip format, with .LSL (text) source code and LSLEdit (text + Solution) formats.
Get file # 1. Local_Teleport_1.lsl
1 //Local Teleport v 1.1.2
2 //by Dustin Widget
3 //use and distribute freely, I only ask you keep my name at the top
4 //repeats a reset every 3 minutes, to update tp position in case of being rotated
5 //this timer wouldnt be needed if sl recognized a rotation as a move
6
7 float ud = 1; //distance to move up or down of the tp obect. (up is positive, down is negative)
8 float ew = 0; //distance to move east or west of the tp obect. ( is positive, is negative)
9 float ns = 0; //distance to move north or south of the tp obect. ( is positive, is negative)
10 string sitText = "Teleport";
11
12 default
13 {
15 {
17 llSetSitText(sitText);
18 llSetTimerEvent(180);
19 }
20
21 on_rez(integer param)
22 {
24 }
25
27 {
29 }
30
31 timer()
32 {
34 }
35
36 changed(integer change)
37 {
39 if(change & CHANGED_LINK && av!=NULL_KEY)
40 {
41 llSleep(0.3);
43 }
44 }
45 }

Back to the Best Free Tools in Second Life and OpenSim.