Event help 'Defeat a monster within a time limit'

Hi! So, I'm trying to recreate a fight from an mmo where the Boss summons a monster around 50% of his hp. The boss gains invulnerability during this time and you have to defeat the add he summoned within a small time limit. During this time the boss is charging up his ultimate attack. If you fail to defeat the enemy in the time limit, his ultimate skill hits hard and wipes the party. If you defeat the enemy in time, then the attack hits for little to average damage.

My problem is I cant figure out how to do the event for timer and when timer ends. What I currently have for the timer, it seems like the timer just ignores commands once it hits 0 and just aborts the game. Can someone help me please?
While I can't help directly, I think you need to add a few bits of info for a clearer view of the problem:
ATB or turn-based battle?
How have you written the Event in the battle?

Need more information. Sounds like an awesome thing if you can get it to work. 🙂
Thanks! I'm currently just using default battle system for right now.
I have the event in 2 pages:

Page 1: Enemy HP(1) = 50%
Change Enemy State: #1 +Invincible
Enemy Appear: #2
Control Switch 'Enemy appears'

Page 2: Control Switch 'Enemy appears' on
>Control Timer: Start, 1 min
> If: #2 is affected by KO
>If Timer is less than or equal to 0
>Force Action: #1, skill a, last target
Change Enemy State: #1, -Invincible
Control Switch: Minion KO = On
End
Else:
>If Timer is less than or equal to 0
>Force Action: #1 skill b, last target
End
End

So my current problem is page 2. I know the timer just aborts battle so I grabbed a plugin that fixed that but now, the timer just ends and the other commands don't occur. Also the difference betwee 'skill a' and 'skill b' is that 'b' is the party wipe skill. I hope this helped explain my situation?
Is the span of the battle event on page 2 set to 'Moment' or 'Turn'? If it is set to 'Battle' it will run only once as soon as the switch is turned on.

Also, it's probably better to start the timer at the end of page 1, and not at the start of page 2.
I originally had page 2 set to 'battle' and it once the timer ended, nothing happened except that it aborted the battle. I did try both 'Moment' and 'Turn' to see if maybe it would trigger? 'Moment' froze everything except the timer.

Update though! I seen some progress. I moved the 1 minute timer to first page 1, and I tried it again. It still didn't do anything after timer hits 0.
I then edited the timer conditional branches from 'Equal to or less than 0' to 'Equal to or less than 1' as well as setting Page 2 to 'Turn'. Now, I actually get the Skill to trigger. However, it keeps activating. So, I made a Page 3:

Page 3: Control Switch "Minion KO"
Erase Event


Because Page 2 is set to 'Turn' it's like it's ignoring Page 3 completely?
So, I did a few edits to Page 2 but I feel like what I did was overkill (or at least some of it was unnecessary). It Works now mainly because I completely forgot about Span so thanks about that @Jules98 ! 🙂
Here's my current edits to page 2

Page 2: Control Switch 'Enemy appears' on Span: Turn
>Control Timer: Start, 1 min
> If: #2 is affected by KO
>If Timer is less than or equal to 1
>Force Action: #1, skill a, last target
Change Enemy State: #1, -Invincible
Stop Timer
Control Switch: Minion KO = On
Erase Event
End
Else:
>If Timer is less than or equal to 1
>Force Action: #1 skill b, last target
End
End
I decided to try this scenario of yours myself, and this is what I got:

48855-e8d661b94f3e3cf33347f6e89c642ed1.jpg

48858-a9fb27e47ef438e09e012f63794a9b5c.jpg

48857-d86b28b3a1aa2e98be0d6eb4f3eb8055.jpg


As far as I am concerned, this works near perfectly. If the second enemy is defeated before the timer runs out, the timer stops and the boss loses his immortality. If the second enemy is still alive and the timer runs out, the boss will use the insta-kill spell as soon as the next turn begins.
the images are missing now but when I saw them at work, it definitely looked a lot more clean than my mess haha! If it's not a big deal, could I get them again so I can use them for future use?
Sure, I'll try this again.

Test.JPG

Test2.1.JPG

Test3.JPG
Awesome! Thanks so much for the help! 🙂
the same thing happened to me thanks

Original thread: https://forums.rpgmakerweb.com/threads/event-help-defeat-a-monster-within-a-time-limit.82631/