End-of-battle message

Hello,

I would like to add a line of dialogue for a boss when he dies in combat.
I set up a message in Troupe when the enemy's HP reaches 0, but it never appears.
How can I do this?
I set up a message in Troupe when the enemy's HP reaches 0, but it never appears.
if the last enemy in a troop dies, the fight ending takes priority over any remaining troop events. you can give the boss a state with a resist trait for your death state on turn 0 and then have your event that plays on them reaching 0% remove the state and kill them
It doesn't happen because the battle will already be over by the time the page would trigger. Depending on what the actual dialogue is, you could just give the boss a state that gives him immunity to state 1, then the page would trigger. Of course this would mean the boss would still be on screen then. (You can remove the state after the dialogue to kill it off.)
Thank you for your quick responses.

I set an immunity status for the boss, but it doesn't work. The boss disappears when he dies, and the dialogue I want to display doesn't appear. :/
You could also try Hime's EndPhaseTriggers plugin, which allows events to trigger before he battle ends.
You could also try Hime's EndPhaseTriggers plugin, which allows events to trigger before he battle ends.
It works well!!!!!! Thank you so much. I didn't find this plugin before.
I set an immunity status for the boss, but it doesn't work. The boss disappears when he dies, and the dialogue I want to display doesn't appear. :/
you would have to show us screenshots of what you did for us to be able to tell you exactly where went wrong, but step by step:
1 - you made a state that had a resist KO trait?
2 - made sure the state didnt have a duration so that it couldnt wear off?
3 - used turn a 0 troop event to give it to the boss?
4 - made sure the boss had the state on them during the test and when you dropped their hp to 0?
and 5 - in your troop event at the end with the message, played the message and then removed the state from the boss?
My Battle Message can run a common event which can trigger
messages too, you may want to track dwon the troopId with the boss
or its name so it only trigger during that boss.
Unsatisfactory answer. Please delete this.
Solution 1: During combat, enemies say their final statement at death.
Tools > Database > Troops
Modify conditions Enemy HP (1) <= 1%; Span Battle
Create a new conditional branch. On the 3rd page, enemy state is knockout
Add a text box: I am defeated!
Are you getting this stuff from AI? The entire point of this thread is that does not work. As soon as all enemies are dead it triggers the end of battle. And making it go off of 1% instead of 0% could be a significant difference, depending on how many HP the boss has and how the combat system works.

What does "on the 3rd page" even mean?

Solution 2: After combat, enemies say their final statements.
The enemy has an event sprite. In the contents, add a battle processing for the troop. Add the conditionals for If Win, If Escape, If Lose, and End.
This is kind of ignoring the OP saying they want this to happen in battle - it's not a solution to the question as asked.

Neither of those are simpler than just installing End Phase Triggers.
Are you getting this stuff from AI? The entire point of this thread is that does not work. As soon as all enemies are dead it triggers the end of battle. And making it go off of 1% instead of 0% could be a significant difference, depending on how many HP the boss has and how the combat system works.

What does "on the 3rd page" even mean?


This is kind of ignoring the OP saying they want this to happen in battle - it's not a solution to the question as asked.

Neither of those are simpler than just installing End Phase Triggers.
Then you make something.
Then you make something.
theres no need to reinvent the wheel if it already works just fine. he suggested an existing plugin that was sufficient for the OP.
or should be? OP never reported the outcome to be certain.
Then you make something.
Why? The plugin which does this was made over a decade ago, was provided to the OP four posts before you and referenced again in my post you just responded to.

What exactly do you think I need to make? I wonder if you read anything in the thread (including my post) before responding.

Original thread: https://forums.rpgmakerweb.com/threads/end-of-battle-message.181406/