Animation smooth end - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Animation smooth end (
/showthread.php?tid=532539)
Animation smooth end -
kamiliuxliuxliux - 18.08.2014
How to end animation smoothly?
Re: Animation smooth end -
Sarra - 18.08.2014
explain? what do you mean?
Re: Animation smooth end -
Vince - 18.08.2014
Most looping animations (like sitting or so) have two or more stages: _in, _out and sometimes others. So whenever you want to end the animation, play the _out. I don't know if player control resumes after the animation is done playing. You may still need to use ClearAnimations (timer).
Re: Animation smooth end -
kamiliuxliuxliux - 21.08.2014
Well, let's say I applied animation, where player's laying on the ground. Now, if I use ClearAnimations(), then just bump and player's standing. But how to do that, like in 1 sec player's laying animation will be cleared ( smoothly cleared )?
Re: Animation smooth end -
MicroD - 21.08.2014
You did not pay attention to what Vince suggested. Shame.