Battle Event Condition not starting

I believe I am using the event conditions correctly but the event that should occur at the end of the battle does not start I believe this is a bug.

I would expect that both event pages would occur throughout the span of the battle even when the last enemy is defeated.

Event Page 1 conditions is the same as 2 but for Enemy (1)

Scenario 1
During the Troop Goblin*2 battle for each goblin I defeat the counter should increase by 1. So at the end of this battle the counter should be 2 but instead it is only 1.
The event is setup as:
During the Span of the battle when a goblin hp reaches 0 the Common Event to run. (which increments a variable by 1)
If I defeat any goblin on the last turn of battle the event does not trigger.

Is my assumption correct or does this event not span for the end of battle?

Scenario 2

I have changed the span to Turn which causes the events to launch per turn and both event pages do start correctly. I did this to test that both event pages can be triggered.
Bug_Condition failed.JPG
Moved to: MZ Support

If something doesn't work the way I expect, I find it's always better to assume I have made a mistake, than to claim there is a bug in the engine.

Troop events only run while there are alive enemies to continue the battle. The moment the last enemy is defeated, the battle is over. So when the first enemy is defeated, the troop event runs and your variable is incremented. As soon as the second enemy is defeated, it goes into the battle win processing and the second troop tab does not get run.


Also, please do not post the same thing multiple times. Once is enough, and if you don't see it straight away it means it needs to be approved by mods.
Just to add onto what Shaz said, MV had plugins specifically designed to add events that would happen at the end of battle. Do a Google, see if you can find a version for MZ.
Moved to: MZ Support

If something doesn't work the way I expect, I find it's always better to assume I have made a mistake, than to claim there is a bug in the engine.

Troop events only run while there are alive enemies to continue the battle. The moment the last enemy is defeated, the battle is over. So when the first enemy is defeated, the troop event runs and your variable is incremented. As soon as the second enemy is defeated, it goes into the battle win processing and the second troop tab does not get run.


Also, please do not post the same thing multiple times. Once is enough, and if you don't see it straight away it means it needs to be approved by mods.
I disagree that this type of event shouldn't work this way and should work the way I expect.
When the Span is on Turn it increments and Turn is on Battle, is it not?

Where can I open a feature request to have this changed I'm sure I'm not the first to think it should work this way?

Also sorry about the double post I had checked for updates but my post was gone.
Every iteration of RPG Maker has worked this way.

You can post in RPG Maker Feedback suggesting a change, but don't list it as a bug, because it's not - it's intentional. There are other ways to do what you are trying to do.
There's a plugin for what you are trying to do, think it's called Kill Quest Helper

Thread '[LordV] Kill Quest Assistant' https://forums.rpgmakerweb.com/index.php?threads/lordv-kill-quest-assistant.136853/

Original thread: https://forums.rpgmakerweb.com/threads/battle-event-condition-not-starting.139327/