Skip to main content

dean groom's Library tagged script   View Popular

08 Nov 09

How to create a teleport link in Second Life — Curriculum, Technology, and Education Reform, University of Illinois at Urbana-Champaign

"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());
}
} "

cterport.ed.uiuc.edu/...teleport.html - Preview

how create script

25 Oct 09

llStartAnimation - Second Life Wiki

* s imposed; in 1.25.4, that limit was (will be) raised to 30.

Search JIRA for related Bugs
Examples


default
{
touch_start(integer detected)
{
llRequestPermissions(llDetectedKey(0), PERMISSION_TRIGGER_ANIMATION);
}
run_time_permissions(integer perm)
{
if (perm & PERMISSION_TRIGGER_ANIMATION)
{
llStartAnimation("sit");
llOwnerSay("animation will end in 5 seconds");
llSetTimerEvent(5.0);
}
}
timer()
{
llSetTimerEvent(0.0);
llStopAnimation("sit");
}
}


Add an animation or pose inside the same object as this script:


string animation; // the first animation in inventory will automatically be used

wiki.secondlife.com/...LlStartAnimation - Preview

lsl animation script

22 Apr 08

Linden Scripting Language Generator

  • A great resource for anyone needed to create simple interactive objects in Second Life instantly using a javascript engine - deangroom on 2008-04-22
1 - 6 of 6
Showing 20 items per page

Diigo is about better ways to research, share and collaborate on information. Learn more »

Join Diigo