Sword_Of_Geddon said:
Theres also lethal artillery and stuff like that.
In general unit animations should loop.
The loop I use, and naturally reccommend is:
all animations which might loop, have the same first and last frame.
so default -> default is fine
same with fidget -> fidget, run -> run
also default -> fidget ->run ->default must all loop together
So all four of these must begin and end on the same frame.
fortify must begin on this frame, but does not have to end on it.
so run -> fort must work.
fort -> attackA must work.
If there is one attack attackA -> attackA must work
If there are two attacks attackA -> AttackB -> attackB must work
If there are three attacks attackA -> attackB -> attackC -> attackA must work.
In general it is best if all the attacks end on exactly the same frame, because all attacks should loop reasonably well with death and victory.
So attackA -> victory and attackB -> victory must both work.
attack'any' -> death must work.
victory -> default must work.
Following these will lead to smoother animations with out the strange hops and jumps from animation to animation.