Hello everyone. IM a very new... well I'm very stupid with all that scripting stuff, i even cant change part of code. So maybe someone can explain me what is wrong with this script, that i found on wiki.
When I worn it first time, or if I gave object with this script to someone, first time when people wear it, they got a lot of errors " Script trying to stop animations but PERMISSION_TRIGGER_ANIMATION permission not set" if people took it off and add again, this error didn't appear again. What permission it wants?
default
{
touch_start(integer detected)
{
llRequestPermissions(llGetOwner(), PERMISSION_TRIGGER_ANIMATION);
}
run_time_permissions(integer perm)
{
if (perm & PERMISSION_TRIGGER_ANIMATION)
{
llStartAnimation("its");
llPlaySound("How",1.0);
llSetTimerEvent(9.7);
}
}
timer()
{
llSetTimerEvent(0.2);
llStopAnimation("its");
llStopSound();
}
}