offparkway
Active member
Working in the brawler module. I noticed that sometimes when I lose all health in a fight, the game ignores any lives I have left and restarts the game (which is supposed to happen when all lives are gone).
** I should clarify that I'm using a death animation for my player, which is called in the hurt player script. **
If I'm standing still when I get killed, the death animation plays and I lose one life as intended. Excellent. But if I'm MOVING around when I get killed, the game resets as though I lost all my lives in one swoop.
Basically, everything works just fine as long as I don't die while in motion. Any ideas?
** I should clarify that I'm using a death animation for my player, which is called in the hurt player script. **
If I'm standing still when I get killed, the death animation plays and I lose one life as intended. Excellent. But if I'm MOVING around when I get killed, the game resets as though I lost all my lives in one swoop.
Basically, everything works just fine as long as I don't die while in motion. Any ideas?
Last edited: