sword_block animation loop issue
#1

Right, so I'm adding an animation to my server. Heres the issue I have.

Код:
		case 2: ApplyAnimation(playerid,"SWORD","sword_block",4.0,0,0,0,0,0);
This has made it so that they will do the animation, once as I needed. However, when the animation is done the character is set back to standing idle. I wanna make it so when the animation ends, it stops with his hands out.

Im trying to get it like this:

[ame]http://www.youtube.com/watch?v=jvHPD9fmlnA[/ame]
Reply
#2

Make a timer.
When the timer ends, add ClearAnimations(playerid);
Reply
#3

Right, so I got it paused. However I cant make it so the character can run within the animation (like he should be able to). Any suggestions?
Reply
#4

pawn Код:
ApplyAnimation(playerid,"SWORD","sword_block",4.0,1,1,1,0,0);
Source;
Reply
#5

Got it as I needed it with:

Код:
		case 2: OnePlayAnim(playerid,"SWORD","sword_block",50.0,0, 1,0,1,1);
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)