Is there a way to call a function at a certain frame of a character's animation?
Pseudo-Example:
if (hero.animation("castingmagic").frame = 8)
SpawnFireBall();
I mainly want something like this for animations that take while to complete or have multple attack to execute the infliction only when the animation is in a particular frame?
Another psuedo-example:
if (hero.animation("flinching").lastframe)
NotFlinching();
Something like this would be helpful for my animations that are several frames long and I don't want the character to move until the end of the animation.