I know this is simple but I am not finding the solution for some reason. I have an enemy set up with its AI events, and I want to have another similar enemy (different art) use those events. All the animations for both enemies are in the same object.
Basically if blueGuy gets hit it plays blueGuy's hit animation, but if it is redGuy it plays redGuys's animation.
I have a local variable that defines which enemy it is, and I need to call that local variable with the ending of the animation name in the events. So (local variable & walk) would give blueGuywalk for blueGuy's walk animation.
I'm sure there are topics on this already, I just couldn't come up with the right search terms. If you could point me to them that would be great!