Hello.
I'm lossing my mind trying to find a fix for this issue. Here's the problem:
I want to set a "TakeHit" animation whenever I call the funcion TakeHit, which subtracts 1 from HP and sets the player flashing. If I just add the set animation to "takehit" on the function it wont do anything because other animation events are not allowin this to happen.
Animations events are a few such as platform is on floor and not moving set to idle, if moving set to run. if falling to fall, if jumping to jump and so on.
I added the condition not flashing to the idle animation events and it worked just for that one but it doesnt work with others.
Then I tried to add an event like if player is flashing set animation to takehit and it does work but it just plays the frame 0 somehow and it wont play the full animation.
Is there any possible fix for this?
Thanks