LeoLFerraz
New member
Hi, all!
I've implemented a simple 'stagger' ability, which is activated when a character takes damage and stops itself a given time afterwards. It's used to:
- Interrupt all other abilities;
- Keep any other ability from starting; and
- Triggering a flinching animation, showing that the character has been damaged.
The ability always activates and deactivates correctly, but the animation does not always trigger. It is inconsistent, varying from play session to play session, per character. That means every time I start play mode, a character might or might not flinch when hit. A character that flinches, consistently flinches during that play session, though.
It's an odd bug and I honestly don't know where to begin debugging. Any tips?
I've implemented a simple 'stagger' ability, which is activated when a character takes damage and stops itself a given time afterwards. It's used to:
- Interrupt all other abilities;
- Keep any other ability from starting; and
- Triggering a flinching animation, showing that the character has been damaged.
The ability always activates and deactivates correctly, but the animation does not always trigger. It is inconsistent, varying from play session to play session, per character. That means every time I start play mode, a character might or might not flinch when hit. A character that flinches, consistently flinches during that play session, though.
It's an odd bug and I honestly don't know where to begin debugging. Any tips?