This code I've got going on here is designed to make sure that the blue man can't interrupt an ongoing attack before he starts another one, as you can see though it's not very efficient.
One idea I had was to make a wild card after the underscore in the animation name but I don't know if it's possible.
If it is, how do I do it and if not, what's a good alternative?
Many thanks!