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.

Suppress battle ending so events run

I'm a little stuck. I have lots of events going on through battles, based on conditions and such. But I want to run one specifically when all enemies are dead. Unfortunately, events don't run then (such as condition: monster 1 HP is less than 0%), because the battle ending gets in the way and stops it.

Is there a quick solution to this, to suppress the battle ending just so that an event can run inbetween all enemies being dead and the battle result screen?

Essentially what I want to do is an event which asks you if you want to accept the reward, or do something else (and the something else will invoke an abort battle amongst other things), so it needs to go between all enemies dying, and the reward being given.
 
Yes, pretty sure. I know what you are talking about. I can't remember how to do it exactly. I found a way once because I wanted to use a special animation and dialog when the enemy died. I'll have to think on it.
 
Ah! Hold the mouse over the enemy Hp% battle condition, The help box explains it.
0 hp takes priority. So to show a message at the end of battle you have to make the enemy immortal and manually add the KO status at the end of the event that runs when their HP falls below 0%
 
In Ace I think you have to make them resist the death status. The "immortal" option isn't there anymore with the "appear halfway" when you right click the battlers in the troops menu.

Might be easier if the message came up as soon the enemy died and you got the reward. Instead of a bunch of condional branching to find out who is the last battler standing to give all the rewards at the end.
 

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