Hostage-like situation event

So, I was wondering how to achieve an event in the story of my game.


In the event, one of the actors is taken hostage by another actor (who at the time is an enemy.)


The actor that is taken hostage should appear on the enemy's side and also be an enemy, however, if you defeat them you will get a Game Over.


To progress from the scene, the player must defeat the other enemies that are not hostages, the hostages will not attack the player, and once the hostages are the only one in the battle, they will flee from the battle and the game would treat this as a win.


Any idea what plugins I would need to achieve this?
Just make a troop event with a conditional branch if hostage has knockout state then gameover, and one conditional branch for each of the other enemies If the other enemies have knockout state then force action on the hostage to use an escape skill.
Just make a troop event with a conditional branch if hostage has knockout state then gameover, and one conditional branch for each of the other enemies If the other enemies have knockout state then force action on the hostage to use an escape skill.

I'll test that out.
Just make a troop event with a conditional branch if hostage has knockout state then gameover, and one conditional branch for each of the other enemies If the other enemies have knockout state then force action on the hostage to use an escape skill.

Well, I can make the hostage escape, but it doesn't seem to work when the hostage dies. Plus, is there any way to make the event run upon an enemy dying rather then at the end of the turn?
change span to moment

Original thread: https://forums.rpgmakerweb.com/threads/hostage-like-situation-event.59966/