Trying to make a character sprite perform a 2 hit combo, with each hit having a different animation. i have the animations down pat but I'm having trouble programming the whole thing. Primarily in two areas.
1. The first problem I'm having is that the animation is triggering all wrong. With the X button on the keyboard being the attack button, ideally I want the first X input to trigger the first animation (I call it "Attack1")and the 2nd X input to trigger the second animation (I call it "Attack2"). But when I try to put it together, the second animation is all that plays. These are the conditions I have for the 2nd attack input.
Keyboard - X is down
Playerbox - Platform is on floor
Is Animation "Attack1" playing
This way, the second animation should only play if the X button is pressed and the first animation is active, but when I do this only the second animation ends up playing, so i'm doing something wrong but i can't for the life of me figure out what.
2. How do i make it so when pressing the attack button, the attack animation triggers only once, instead of starting up again and each time i press it regardless of what point the attack animation is in. I figure i have to mess around with the "Wait" and "Ignore input" actions, but no amount of tinkering is giving me the desired result.