MV Moghunter ABS - count killed enemies

Hi game makers!

I'm using moghunters chrono engine ABS. I got a sort of puzzle game where I need to count the enemies I kill and when I get to a specific number of kills something happens. However, I'm kinda lost on how to do it.

I tried during it using variables and then a conditional branch but it won't work for me, probably because the way the abs works.

Anyone who can help me out?
you can use variables +1 kill on dead, and on the door if its >= x
or activate the door part if variable = 5 or bigger in order to open it.

you dont need a conditional brance specifically unless thre is more to it
that meets the eye of the mechanic you want to achieve.

like, you have 5 monsters, when dead variable +1, if they have a respawn, -1
so you have a time limit that they need to be dead entirely.

on the door, you can interact.

Page 1:
door is locked, find a way to open it! (your choice of text)

Page 2, condition variable = 5 (example) do this under switches
same image as page 1, but you can now interact with it or autorun it
to open SS A ON, and page 3 blank.

while this is basic, you can do it with a conditinal branch too.

if: variable 4 >= 5
the door is unlocked
SS A is ON
else
the door is locked
end

this is also basic setting, so I dont know how you set it up in your event.
That was actually a good idea. Not what I had in mind, but I will change things a bit. Thanks!

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/moghunter-abs-count-killed-enemies.130068/