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
« November 2009 »
November
SuMoTuWeThFrSa
1234567
891011121314
15161718192021
22232425262728
2930