Greetings,
So I have working on my first game and it’s like 80% complete I was positive everything is working correctly however during testing with enemies I encountered a fatal bug that potentialy break the game.
This is it how it goes if the charcters attack and get interrupted at the begining of the animation the character goes into a loop of attacking non stop basically looping the custom event for attacking for seemingly no reason. Tested further it works fine when attack get interrupted mid or at the end of the animation only at the very begining when the attack gets interrupted as soon as it starts.
here is the code,
I know this is caveman scripting and I learned of better methods however I can’t just rebuild because that would take a long time and would most likely mess up everything in the project.
I would really apprecitate any input in the matter, thanks.