'Object(51,42): Script trying to trigger animations, but PERMISSION_TRIGGER_ANIMATION permission not set'
- I click yes (to animate) then nothing happens!
what am I doing wrong? My script is:
string gAnimName = "show off";//anim in contents, definately works
default
{
state_entry()
{
llSay(0, "Hello, Avatar!"

}
touch_start(integer total_number)
{
llRequestPermissions(llGetOwner(), PERMISSION_TRIGGER_ANIMATION);
llStartAnimation(gAnimName); // automatically trigger animation.
llSay(0, "Touched."

}
on_rez(integer param)
{
//llResetScript(); // reset the script as soon as it starts.
}
}
I've checked forums, examples etc - surely this should just work! please help...
- SM