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

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

Powered by Plone CMS, the Open Source Content Management System

This site conforms to the following standards: