I need to include an animation that was bought, in an object. The problem is, it keeps giving me an error saying the animation cannot be found. The code is below.
default {
touch_start(integer num_detected) {
llRequestPermissions(llDetectedKey(0), PERMISSION_ATTACH);
llRequestPermissions(llGetOwner(), PERMISSION_TRIGGER_ANIMATION);
}
run_time_permissions(integer perm) {
if (perm & PERMISSION_ATTACH) {
llAttachToAvatar(ATTACH_RULEG);
}
if (perm & PERMISSION_TRIGGER_ANIMATION) {
llStartAnimation("Badgers"

}
}
}
Do i need to include some extra lines when using a custom animation? Or am i using the wrong animation name, since it worked when i used "rps_countdown" but couldn't find the animation when i used "rps_count" or "RPS count".
Any help is appreciated =)