Want to add a script or a project? Upload it and a half million people will see it and your name here this year.
![]() |
![]() |
||
---|---|---|---|
Category: | Contributor: | Creator | |
Animation | Seagel Neville | SurprizingFreezer |
Category: Animation
By : Seagel Neville
Created: 2010-01-10 Edited: 2010-01-10
Worlds: Second Life
Browse the Zip file
12 // Seagel Neville wrote this.3 // I'm not familiar with any difficult things. You can do anything. ;)45 key agent;67 default8 {9 state_entry()10 {11 llSetSitText("Freeze");12 llSitTarget(<0.8, 0, -0.5>, ZERO_ROTATION);13 llSetCameraEyeOffset(<5, 0, 0.3>);14 llSetCameraAtOffset(<-5, 0, 0.2>);15 }17 {18 if(change & CHANGED_LINK)19 {20 agent = llAvatarOnSitTarget();22 {23 llRequestPermissions(agent, PERMISSION_TRIGGER_ANIMATION);24 }25 }26 }27 run_time_permissions(integer perm)28 {29 if(perm & PERMISSION_TRIGGER_ANIMATION)30 {31 llMessageLinked(LINK_SET,0, "OPEN", "");32 llPlaySound("door_open", 1);33 llStopAnimation("sit_generic");34 llStopAnimation("sit");35 llStartAnimation("falling");36 llMessageLinked(LINK_SET,0, "CLOSE", "");37 llPlaySound("door_latch", 1);38 llSleep(0.5);39 llStopAnimation("falling");40 llMessageLinked(LINK_SET,0, "ICE ON", "");41 llStartAnimation("up-up-and-away");42 llSleep(1);4345 llPlaySound("door_open", 1); //to add new animations.46 llSleep(1); //48 llPlaySound("door_latch", 1); //49 llSleep(0.5); //50 llStopAnimation("up-up-and-away"); //51 llStartAnimation("igor"); //52 llSleep(1); //5354 llMessageLinked(LINK_SET,0, "OPEN", "");55 llPlaySound("door_open", 1);56 llSleep(1);57 llMessageLinked(LINK_SET,0, "CLOSE", "");58 llPlaySound("door_latch", 1);59 llSleep(0.5);60 llStopAnimation("igor");61 llStartAnimation("MEATBALL");62 llSleep(1);6364 llMessageLinked(LINK_SET,0, "OPEN", "");65 llPlaySound("door_open", 1);66 llSleep(1);67 llMessageLinked(LINK_SET,0, "CLOSE", "");68 llPlaySound("door_latch", 1);69 llSleep(0.5);70 llStopAnimation("MEATBALL");71 llStartAnimation("pull your head out");72 llSleep(1);7374 llMessageLinked(LINK_SET,0, "OPEN", "");75 llPlaySound("door_open", 1);76 llSleep(1);77 llMessageLinked(LINK_SET,0, "CLOSE", "");78 llPlaySound("door_latch", 1);79 llSleep(0.5);80 llStopAnimation("pull your head out");81 llStartAnimation("long-kiss-femanine");82 llSleep(1);8384 llMessageLinked(LINK_SET,0, "OPEN", "");85 llPlaySound("door_open", 1);86 llSleep(1);87 llMessageLinked(LINK_SET,0, "CLOSE", "");88 llPlaySound("door_latch", 1);89 llSleep(0.5);90 llStopAnimation("long-kiss-femanine");91 llStartAnimation("birth-of-venus");92 llSleep(1);9394 llMessageLinked(LINK_SET,0, "OPEN", "");95 llPlaySound("door_open", 1);96 llMessageLinked(LINK_SET,0, "ICE OFF", "");97 llSleep(1);98 llSetStatus(STATUS_PHANTOM, TRUE);99 llUnSit(agent);101 llStopSound();102 llSleep(1);103 llSetStatus(STATUS_PHANTOM, FALSE);104 llMessageLinked(LINK_SET,0, "CLOSE", "");105 llPlaySound("door_latch", 1);106 }107 }109 {110 llResetScript();111 }112 } // END //
Back to the Best Free Tools in Second Life and OpenSim.