Hello everyone. I'm working on a small demo. I want the enemy to say something the moment he dies during the battle processing. However, when I ran the battle test, he does not say anything. Can anyone help me with this?
Character death during battle processing
● ARCHIVED · READ-ONLY
-
-
The way I've done this is to at the start of the battle, give the enemy the immortal state. Then, add an event for what he wants to say when the enemy drops to 0% of HP. In that same event, once the text is done, remove the immortal state, and apply the KO state. That has worked for me so far at least!
I also seem to recall seeing a script available that makes it so all the events on 0% of HP still run, but don't remember where. Maybe another poster can help you with that one? -
Simply set an event to "Battle" span with the condition that the enemy's HP is 0% or less.
Since by default battle events don't run if either side is completely wiped out, be sure to add in Hime's End Phase Triggers to allow your event to run.
One word of warning: if you're allowing Slip Damage to KO characters, be sure to test KOing the last (or only) enemy left in a troop by Slip Damage, in a compressed game (as opposed to Test Play) and make sure that nothing goes awry. I had a game where the window would simply shut down if this happened, and it used about a dozen scripts including End Phase Triggers (as well as some of my own mods to default scripts). I don't think this script was the culprit, and I still haven't figured out what is because I can't recreate it in a clean project, but I feel it's only fair to give you the heads-up as I link you to this great script.