Be happy: Difference between revisions
Jump to navigation
Jump to search
Emmas Seetan (talk | contribs) |
Emmas Seetan (talk | contribs) |
||
| Line 3: | Line 3: | ||
Put this script in an attachment to make your avatar smile. | Put this script in an attachment to make your avatar smile. | ||
//be happy | <lsl>//be happy | ||
default | default | ||
| Line 25: | Line 25: | ||
} | } | ||
} | } | ||
} | }</lsl> | ||
Revision as of 08:31, 21 September 2008
Be Happy
Put this script in an attachment to make your avatar smile.
<lsl>//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();
}
}
}</lsl>