|
Is there a way to call a function at a certain frame of a character's animation? Pseudo-Example:
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:
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.
(comments are locked)
|
|
In short: No. The events are made For such things. Well, you can compare the current animation time if it's in a certain range but it would be a lot more work and it wouldn't be as reliable as animation events. If you want to know the exact (graphical-) frame when an animation has finished you would have to use ClampForever and stop the animation manually. Otherwise you will never reach the end of the animation. It was mostly out of laziness. I was curious to see if it were possible without animation events, but I guess I can make a script at the area of the attack that does a SendMessage() and have it toggle a flag or something...
Mar 21 '11 at 09:25 AM
SirVictory
(comments are locked)
|
