MV How to stop the follower from becoming leader when the player dies?

Working in chrono abs on MV.. whenever the player dies the follower becomes the party leader which I'm not sure how to "turn off" any ideas?
Who do you want the player to control if the leader is dead if not the follower?

That said, this is controlled by Game_Chrono.prototype.selectNextActor in the Chrono Engine plugin file. You can edit that function to do whatever you want, but you have to specify what you want to happen.
Usually it runs a common event via a plugin when they player dies solo that respawns them outside of the dungeon but having a someone else in the party kinda messes that up..
Who do you want the player to control if the leader is dead if not the follower?

That said, this is controlled by Game_Chrono.prototype.selectNextActor in the Chrono Engine plugin file. You can edit that function to do whatever you want, but you have to specify what you want to happen.

hmm ill check it out and see what I can do.. thanks for letting me know.
You can try pasting in a new plugin file
Code:
Game_Chrono.prototype.selectNextActor = function() {
     $gameTemp.reserveCommonEvent(X);
};

Where X is your common event number
Usually it runs a common event via a plugin when they player dies solo that respawns them outside of the dungeon but having a someone else in the party kinda messes that up..
If you posted what that common event looks like we could help you with whatever is messing up. If you're always looking for a specific actor to have died, there's no reason it should matter whether any other actors are in the party.

Original thread: https://forums.rpgmakerweb.com/threads/how-to-stop-the-follower-from-becoming-leader-when-the-player-dies.170673/