Trying to make battle conditions. (Fixed)

I am trying to make a battle where the players win if they defeat a group of, or just a single enemy in an encounter.

Like having two Goblins, and a boss monster, but beating the boss monster is what triggers the victory.

How would I do that?

I am also trying to do it as the inverse as well (beating the two Goblins, but not the boss)
Make a troop event that adds state death to the goblins when boss hp goes to 0.

Make 2 troop events (for both goblins when their hp goes to 0) that add +1 to a variable and then adds state death to the boss if the variable is 2.

(Or is there a problem for you with going to the victory by adding the death states?)
I figured out how to make it happen.
Basically check when the opponent(s) I want is dead after an opponent I want dead is killed.

This will make it so that if I an opponent I want alive or dead to have a trigger and set up how the cutscene will play out .

1741085713107.png
This thread is closed due to being marked solved. Report the next one so we can find it easily! If you need this thread reopened, report it to let us know. Thank you!

Original thread: https://forums.rpgmakerweb.com/threads/trying-to-make-battle-conditions-fixed.175959/