Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Broken Arm Effect

Karsh Volos
Registered User
Join date: 6 Oct 2004
Posts: 4
05-25-2006 10:24
I made a broken arm animation, and I was wondering if there was a way to make it override animations with a priority of 4. I basically want him to keep his arm in close to his body in a slung up position pretty much all the time. Except a lot of the animations in my AO and other animations make the arm do their animations. The only body part I have move in this animation is the arm and shoulder.

Thanks
Seagel Neville
Far East User
Join date: 2 Jan 2005
Posts: 1,476
05-25-2006 15:41
Even though you create your animation with a max priority, when other max priority animations are played afterward, it is overridden by them. So you have to let your animation override them again. You need your special AO script that is always fired your animation in 0.2 sec interval to do so.

[EDIT]I found a script you could use. Use Gattz's script in this thread. Change llSetTimerEvent(0.5); to llSetTimerEvent(0.2); . And change the name of animation to yours in these two lines.
CODE
llStopAnimation("express_open_mouth");
llStartAnimation("express_open_mouth");

This script is used for attachments. You can put this script and your animation into your any attachment.
_____________________
:) Seagel Neville :)
Karsh Volos
Registered User
Join date: 6 Oct 2004
Posts: 4
05-25-2006 17:32
It does actually play the animation but for some reason, it still doesn't fight off a lot of the new animations. I can't figure out why this is...
Howie Lament
Registered User
Join date: 22 Apr 2004
Posts: 30
05-29-2006 05:53
You could perhaps suggest that users are allowed to change the priority of animations after they've been uploaded? Either through the properties window in the inventory, or through a script..

As far as i know you can't do this as of now, you'd have to reupload the other animations with lower priorities.
Seagel Neville
Far East User
Join date: 2 Jan 2005
Posts: 1,476
05-30-2006 05:12
First off, you have to move parts even a bit from the first frame position to set them to keyframes. Unless you set those parts so, they are overridden by any animations, so that they move because you can't give any priority to non keyframe's parts.

Second, by the animation of the same priority, one which was performed later overcomes another which was performed previously. And the max of priority is 4. As you know, there are a couple of built-in animations have priority 4.
From: Seagel Neville
Even though you create your animation with a max priority, when other max priority animations are played afterward, it is overridden by them.
So I suggested that you had to play your broken arm animation after such max priority ones to overtake them.
By that script, it playes your animation every 0.5 secs. So even though any max priority animation is about to play, you animaton is always performed just after it again and again.

But it seemed not to work for you. I suspect that you failed at the first step.
1. You have to create 2 frames animation. The first one is the defalut T-Pose and the second one is the posture you like.
2. To create the posture you like, you have to move Collar, Shoulder, Forearm, and hand. Even though you want to keep them the default positon, you have to rotate them even 1 degree at the second frame.
3. Set the priority 4 and Loop on the uploading window. Then, upload it.
_____________________
:) Seagel Neville :)