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 Teleport  

Teleport

Teleport.lsl

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

the Zip file

Download all files for Teleport
Contents are in zip format, with .LSL (text) source code and LSLEdit (text + Solution) formats.
Get file # 1. Teleport_1.lsl
1
2 key lastAVkey = NULL_KEY;
3 string fltText = "Teleportation Script";
4 vector dest = <17.144,154.847,26.836>;
5 default
6 {
8 {
9 llSetSitText("Teleport");
10 llSetText(fltText, <1,1,1>, 1);
11 llSitTarget(dest-llGetPos(), <0,0,0,1>);
12 }
14 {
15 llSay(0,"Right click me and chose 'Teleport'");
16 }
17 changed(integer change)
18 {
19 key currentAVkey = llAvatarOnSitTarget();
20 if(currentAVkey != NULL_KEY && lastAVkey == NULL_KEY)
21 {
22 lastAVkey = currentAVkey;
25 llUnSit(currentAVkey);
26 llStopAnimation("sit");
28 }
29 }
30 }
31 // END //

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