mob killing event

I'm trying to make an event where you have to kill a certain amount of mobs to continue but I can't figure out why I cant get it to work. I've tried a few different approaches and nothing seems to work. Here is my latest take
6nw1v7.png
The condition you have used (#1 affected by knockout) only works in troop events, not map events.

Are these evented enemies, or random? If evented, simply increment the variable before the battle. If random troops, add a troop event to each troop you need to count, which runs only once at the start of the battle and increments the variable. If the player wins, the variable is increased. If they lose, they have to load a saved game from before the variable was incremented.

I'm not a fan of using parallel process events to count things like this, as they can cause lag if not written well (and yours would cause lag). How often are the battles occurring? If they're not occurring 60 times a second, then you need to add Wait commands in there. So a Wait, Check to see if variable is 12, and do stuff. You could do a wait of 60 frames and that will run the check once a second, which should be good enough. If you're ever coming back to this map, I'd also turn on a self switch before transferring the player, and add a second page conditioned by the self switch. That way if you come back to this map it's not going to continue doing the checks.

Original thread: https://forums.rpgmakerweb.com/threads/mob-killing-event.88020/