Help with Party Death alternative Event.

No, I understand you, but I don't think you understood me 😉

I understand you don't want actors that die in battle to be in your party afterward, walking as followers.

But in my previous post I said you shouldn't remove them during the battle.

If you use either of the solutions I mentioned - a parallel event that runs on the transition back to the map, or a plugin that runs a common event at the end of battle - then you will still be removing dead actors from your party, but not during battle.

That means if everyone dies during battle, the normal game over process will kick in, which is what I gave you the plugin to address, which means you'll never have a situation where your party has all actors removed from it.

If any fewer than the entire party die, and you manage to complete the battle, then your other event takes the corpses out of the party.
This was never happening during battle. It was always happening after battle or after the party members died on the map.

I already have the plugin, it does not fix the invisible player empty party glitch.

I apologize if this is frustrating, I'm new at this and I don't know the ins and outs of certain things. I'm only understanding half the solution you're saying, I am trying to learn, but I'm doing something wrong and I don't know what.
I already have the plugin, it does not fix the invisible player empty party glitch.
Then you need to show how you have everything set up and (ideally) go through some of the logical flow yourself to troubleshoot.

If you have the plugin that I suggested installed, it activates in battle as soon as you would be kicked out to Game Over. So it should be impossible for any map events you have to activate, meaning it should be impossible for you to end up with an empty party.

So go with that as your logic/work flow and examine what you have your various events doing. Post all of their current versions and how exactly you're calling them if you need help.
Someone on Steam managed to give me all the information I needed to fix this.

Death event answer.png


This script call above each of the "If X Actor is affected with Dead" Conditional Branches solved the entire issue.

Thank you to everyone who tried to help and give me tips.
As a suggestion, you should change $gameParty._actors to $gameParty.allMembers()

It's more correct to use getter functions when they're provided for you, and that will make your event continue to work if you should ever use a plugin that modifies anything to do with the party.

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/help-with-party-death-alternative-event.168987/