Personal tools
You are here: Home Technologies & Tutorials Second Life Tutorials How to create a teleport link in Second Life

How to create a teleport link in Second Life

This tutorial shows you how to create a local teleport link out of any object in Second Life.

Script to Copy:

vector target=<162,134,27>; // Enter the target coordinates here!!!
default
{
state_entry()
{
llSetText("Teleport to ENTER NAME OF DESTINATION",<255,255,255>,5);
llSetSitText("Teleport");
rotation my_rot=llGetRot();
llSitTarget((target - llGetPos()) / my_rot,ZERO_ROTATION / my_rot);
}
changed(integer change)
{
llUnSit(llAvatarOnSitTarget());
}
}

Click here to view the tutorial:

http://cter.ed.uiuc.edu/tutorials/SecondLife/teleport.mov
Document Actions
« February 2010 »
February
SuMoTuWeThFrSa
123456
78910111213
14151617181920
21222324252627
28