Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

[Resolution] An enemy that escapes instead of dying

Hey there guys. I wonder if you can help me with this little thing I want for my game.

Basically, there's a certain enemy in my game that I want to escape instead of dying in my game, but, the battle continues as if he HAD died.

Basically, you get attacked by an Enemy with ID in the database of, say, 5.
You fight him as normal.
When his health goes below zero, he doesn't die, he escapes.
Repeat for his chums, and they all escape.
Battle ends, and you get the level up message and results window as normal.
You gain the amount of EXP the enemy gives and the gold they drop.

That last bit is the important bit. I can make it so that he runs away using RMXP just fine, but you don't get any EXP, the level up does not occur, and the window does not appear.

Basically, what I want, is for a specific enemy, Running Away = Dying.

Any help would really be appreciated. :D
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top