Death animation restart when player takes damage.
#1

Hi,
I am using a custom death animation, the problem is that when someone shoots the player, the animation starts over for the attacking player.
So if player 2 punches player 1 while the death animation is over (player on the ground like it should), player 2 sees player 1 redo the falling animation.

I have tried playing with different animation, different animation settings, and the TogglePlayerControllable, now I need some guidance.

The animation does not restart for player 1, but I am using some RPC to sync the animations when streaming in, but the settings are supposed to be exactly the same.

Has any of you experienced what I am talking about?

Thank you,
rt-2
Reply
#2

Ok this is what I found, I tried again and again the same thing and found this:
ApplyAnimation(playerid, LIBRARY, NAME,4.1,0,1,1,1,1000,1);
This way only the problem is not present.

Thanks anyway,
rt-2
Reply
#3

So is it solved?
Reply
#4

Quote:
Originally Posted by iLearner
Посмотреть сообщение
So is it solved?
Yes, with the parameters I posted on the second message it works, the player stays stopped at the end of the animation when taking damage, instead of the animation restarting..

Thank you
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)