Troop Events Not triggering Variables

As it suggests in the name... i am having issues with troop events... I read up about how triggers are not executed when the mob hits 0 so you are supposed to make the enemy immortal on turn 0 and then put the condition that hp<= 0% it removes the state after your event. In my case its variables that add 1 when the enemy is killed. When I debug and give myself the items, the event triggers perfectly... but after battling, it just keeps going so i am fairly certain my screw up or oversite is my troop event. I even have HIME_EndPhaseTriggers turned on in case that was the issue if the immortal route failed... so i am just not sure what is going on. So im asking for a second.. or third... or fourth pair of eyes because maybe i have tunnel vision and am just overlooking it.
PS.. this is literally the only hiccup in submitting my Game jam game >.<
Spoiler: Trigger event
1702836877165.png
Spoiler: Troop event pages
1702836946376.png
1702836979328.png
1702837016173.png
Map events, especialy parallel process events on the map, are always stopped on all screens - and that includes the battlescreen.

That said, I suggest adding a show text to all the death events to check if they are processed or not directly. Because I don't see anything wrong there, so I suspect the error is somewhere else.
Map events, especialy parallel process events on the map, are always stopped on all screens - and that includes the battlescreen.

That said, I suggest adding a show text to all the death events to check if they are processed or not directly. Because I don't see anything wrong there, so I suspect the error is somewhere else.
Ok, So i did a little text popup that simply says "I Work" XD... and it triggers fine... so if it not the battle events.. what can I do to make the variables increase how they are supposed to?
Could I put the conditional branch in the events tab of each enemy so that it checks every time the enemy is killed?
what can I do to make the variables increase how they are supposed to?
The variables are increased correctly.

What do you want to happen when you have enough? Because as of this time, nothing will happen during battle because no other troop events do anything. Only troop events are executed during battle, and none f your three troop events do anything other than increasing the variables.
The variables are increased correctly.

What do you want to happen when you have enough? Because as of this time, nothing will happen during battle because no other troop events do anything. Only troop events are executed during battle, and none f your three troop events do anything other than increasing the variables.
When the variables all hit 10 it triggers a switch to start the next cutscene which is autorun.
Edit: Well I tried my thought... still nothing. >.<
So, do you have different enemies that give you different items? Then it can happen that you'll have 11 lights, before you get 10 presents, and the switch will never turn on? Shouldn't you put >= to your conditionals?
When the variables all hit 10 it triggers a switch to start the next
no, not during battle.
As I said above, parallel processes do not work during battlescreen, your map event for checking the values will only be processed after battle is ended.

That said, you should change those conditional branches to >=10 instead of =10.
If you get one of those values to 11 during one battle, it cannot trigger because it only checks after the battle, not during.
no, not during battle.
As I said above, parallel processes do not work during battlescreen, your map event for checking the values will only be processed after battle is ended.

That said, you should change those conditional branches to >=10 instead of =10.
If you get one of those values to 11 during one battle, it cannot trigger because it only checks after the battle, not during.
OH! well that makes sense... DUH ME OMG i feel dumb. Thank you!
you should change those conditional branches to >=10 instead of =10.
Came here to say this.

If I'm understanding correctly, during battle once the the Party has all the items (the variables) at 10 or more you want a new battle to start automatically?
Came here to say this.

If I'm understanding correctly, during battle once the the Party has all the items (the variables) at 10 or more you want a new battle to start automatically?
You have to collect x of a set of items. Mobs will drops said items... but it needs to add to the variable that item is stored at to count. I was being single minded and not once thinking that because the RNG of random battles, those items will never actually be 10 at the same time... thus the >= condition on the event that runs parallel after designating that each one starts at 0. also... im having this closed because im good now , but maybe this will help someone else that might think like me lol.
Well what I was leaning into was more so a way to have that next battle start and look more natural/without showing the map again haha. But if you got it good luck in the jam!
Well what I was leaning into was more so a way to have that next battle start and look more natural/without showing the map again haha. But if you got it good luck in the jam!
AHH gotcha... but no the event runs first on the map with a cutscene.. then the battle 🙂

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/troop-events-not-triggering-variables.163934/