Difference between revisions of "Be happy"

From Second Life Wiki
Jump to navigation Jump to search
Line 4: Line 4:


  //be happy
  //be happy
 
  default
  default
   {
   {

Revision as of 08:31, 21 September 2008

Be Happy

Put this script in an attachment to make your avatar smile.

//be happy

default
 {
   state_entry()
   {
        llRequestPermissions(llGetOwner(),PERMISSION_TRIGGER_ANIMATION);
        llSetTimerEvent(5.0);
   }

    timer()
   {
        llStartAnimation("express_toothsmile");
   }
   
    attach(key moo)
    {
        if(moo != NULL_KEY)
        {
            llResetScript();
        }
    }
}