How to create a teleport link in Second LifeThis 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 |
|
