dead followers

Thanks to Uzuki, i now know how to make the sprites of dead chars look like coffins, but we are both actually having trouble with something:

When exploring maps, dead chars change to coffin sprites. That's great, and the effect I want for my game, but if the lead char is dead, then your party is being led by a mobile coffin.

Does anyone know of a way to send dead characters back in line, so the party can be led by a live character?
Thanks to Uzuki, i now know how to make the sprites of dead chars look like coffins, but we are both actually having trouble with something:

When exploring maps, dead chars change to coffin sprites. That's great, and the effect I want for my game, but if the lead char is dead, then your party is being led by a mobile coffin.

Does anyone know of a way to send dead characters back in line, so the party can be led by a live character?
You probally need a formation script, that rearanges char automatically if they're dead.
I don't suppose you know any, do you?
I don't suppose you know any, do you?
Not off hand, but I'm sure there's probally a handful of such scripts in the master script list in the scripting section.
Bump
Bump?
You could make an event that removes all characters from the party when someone dies and then adds them again, with the ones that are dead being added last. Use conditional branches to check which characters are dead (tab 2 of conditional branch menu, select actor and check for state: death). Shouldn't be too hard.

The tricky part would be figuring out how to trigger the event to run in a good way.
I've moved this thread to RGSS3 Script Requests. Please be sure to post your threads in the correct forum next time. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/dead-followers.23598/