Battle interruption.

I didn't find a specific thing for this in troops, but is there a way for me to end a battle when the player or enemy's health goes to half, with some text. I'm trying to make so that the player and his classmate are playfighting but they are interrupted and told off by a teacher who shouts at them both. In game this will be triggered by either the player or enemy's health reaching half.

I also want in this same battle for there to be an item called "knife" the player picks it up before in the game but when it is used some dialogue will show up and will be revealed its just a toy knife, again this will also trigger the battle interruption and to be ended. Can i just go into troops and add a conditional branch etc?
Troops is the right place, but use the conditions and NOT the conditional branch for the first case.

in the second case of the knife you'll have to mix more parts.
you'll need a condition to run the troop event (without conditions the troop event will never run), then check if the attack skill is used (probably by something in the attack skill itself, although control variable last skill might be enough, followed by conditional braanch which weapon is equipped.

And please, make sure you understand the difference between condition (event property) and conditional branch (event command) and always use them correctly, they are not the same.

Original thread: https://forums.rpgmakerweb.com/threads/battle-interruption.163042/