I have some enemy zombies in the level, and each of them have 3 different ranges. The first is if the player is within a certain range, the zombie will start moving towards the layer. If they come within a second range, they start doing a ranged attack, and after the attack should continue moving towards the layer. When when the player is within a third range, the zombie should stop and start a melee attack.
All throughout this, the player can shoot at the zombie, and the bullet collision sets the zombies animation to a hit animation, then should pick back up with either the melee, or the range/move, or the move animations.
But with the animations being interrupted, I cannot rely on the On Fishished event, so I'm attempting to use that and a timer to reset some states.
My event sheet is getting quite long and complicated for these different things, and I was hoping someone could take a look at the capx and tell if that's just the way it is, or if there's a different/better way of doing this?