Hello,
I have a problem with KO status (the first of the database). I checked the box for the status to be recovered at the end of combat. Characters which have the KO status at the end of the battle are found at 1 HP when they leave on the map. But suddenly, I noticed that it also worked for monsters. That is to say, if I kill one of the monsters and I escape the battle, I see the vanquished monster reappear on the screen when the display text of the escape.
How to correct this ? KO status condition is set it seems to me in the RPG Maker database scripts directly to give that status when HP reach 0. At the limit, I thought keeping this default status for monsters and create a duplicate state with healing end of a fight for the characters. But it takes to edit basic scripts, right ? Can you help me ?
Well, that is hardcoded to the death state... You could modify the scripts so that it doesn't remove death state from enemies or make it such that the removal will only work on actors.
I've moved this thread to RGSSx Script Support. Please be sure to post your threads in the correct forum next time. Thank you.
Do you have any battle scripts added to your game?
If you do, create a brand new project and set up the KO status the same. See if the same thing happens to enemies in your new project. If it does, it's an issue with the default scripts. If it doesn't, it's an issue with one of your added/custom scripts, and we'll need links to them to be able to take a look.
By default, monsters do not even exist on the map - those are events pretending to be monsters and have no HP.
So there are only two possibilities:
1) you're using a script that connects the event to the resulting HP from the battles - which is rather unlikely in my opinion, since the only scripts that do that are on-map/ABS, and you say something about reappearing after combat, which means combat is a screen for you
2) you have a problem in your event logic that displays the monsters that has absolutely nothing to do with the KO state.
In both cases we need to know more about your game, especially screenshots of the events where that happens and how you have the events detect the results of the battles.
I was thinking of that earlier then I re-read the OP, I think it was actually happening before the battle ends where you see a message in the battle log that you escaped the battle.
Surely it has to be the escape mechanism - if the player escapes, then the enemy is still alive, so of course will have more than 1HP and will reappear if the event is set up that way.
Or something entirely else.
If the original OP uses only default, then there is no connections and the OP might just have misunderstood.
If you escape combat in default, the troop you had fought ceases to exists. the event on the map that called the battleprocessing will always call a new troop, so of course it might look like the enemies killed in the escaped battle had been revived - they didn't the battleprocessing called a new full troop.
@OP:
It needs some advanced event logic to transfer the results of previous partial battles into events on the map - that is what we talked about before. If you didn't have that logic, you will always fight the full troops from the events.
So am I right that this happens during the battle scene in which if you escape there is a message in the battle log that says you escaped?
That is what has always happened with me - if it is an on-map encounter and I escape having killed one or more of the troop, the troop is still shown on the map after the escape and if I re-engage with it, the full troop is present in the new battle.
I personally see no way round that, and would not advise trying to change it anyway - think of all the complications! The 'penalty' for escaping is that, if you want to re-engage the enemy, it's the full troop once more.
@Engr.Adiktuzmiko It's exactly that. It's a problem with the default system. No event, no script.
I was taking the enemy reappears "on screen" as meaning that it reappeared on map. Just as well I included the bit about maybe mis-reading the problem. So this is re-appearing on the battle screen?
though actually, where does the OP say it's random encounters? I must be going blind, as I can't see it.
No, it's about reappearing on the victory/escape screen - haven't checked it myself so I don't know how it looks there