Timer trouble

So, I was trying to have the timer go down and when time is up a boss fight happens. However, when I tried to implement it, the timer doesn't go down.
◆If:Reid has equipped Cuse of Luck
◆Control Switches:#0007 unlucky = ON
◆Control Timer:Start, 0 min 1 sec
◆
:Else
◆
:End
This is how the timer starts yes, this is parallel

◆If:Timer ≤ 0 min 0 sec
◆Game Over
◆Text:None, None, Window, Bottom
: :a
◆
:End
This I put in a parallel common event
Please show actual screenshots of your events, not just text.

The way it looks, your first event is going to continue running 60 times a second, constantly resetting the timer to 1 second.

You should probably have a second conditional inside that only starts the timer if your unlucky switch is OFF. (plus some Wait commands)
When you use a parallel event, it keeps running the commands from top to bottom over and over. So you keep resetting the timer. You need to put the commands after setting the timer in a loop or on another event page.
As @ATT_Turan has said, we really would need screenshots for this because we don’t actually know how you have your event setup. Then we could give you better advice. 🙂
As @ATT_Turan has said, we really would need screenshots for this because we don’t actually know how you have your event setup. Then we could give you better advice. 🙂
Alright here
You need to exit out of the timer start page either by not making it parallel, erasing the event (if you want this event to run again if you leave the map and come back) or putting Self Switch A: ON at the end and making a blank second page with self switch A checked if you don't want it to run again. You common event is also parallel so it's going to keep running again and again so you may want to turn the unlucky switch off at the end to stop it.
Alright here
...did you read what was already said? 🤣
The way it looks, your first event is going to continue running 60 times a second, constantly resetting the timer to 1 second.

You should probably have a second conditional inside that only starts the timer if your unlucky switch is OFF. (plus some Wait commands)
Well you got your answer above, but since you're setting the timer to 1 second, it seems like you just want to kill the player when they equip that item? You could search for a plugin that runs a common event on equip. This thread had one:


If you want to do it with parallel common events and timers it could be something like:

Common event 1:
If actor has item equipped
-> start timer
-> turn off common event switch 1
-> turn on common event switch 2

Common event 2:
If actor has item equipped
->If timer = 0 -> game over
Else
->stop timer
-> turn off common event switch 2
-> turn on common event switch 1
Well you got your answer above, but since you're setting the timer to 1 second, it seems like you just want to kill the player when they equip that item?
The event doesn't kill the player, it starts a boss fight.
I'm wrong. The OP said it wanted to start a boss fight, but it does in fact just call Game Over.

But I agree, I don't see the point of a 1-second timer. Either the timer should serve some purpose in having an amount of time, or just make it happen instantly as you describe.
You need to exit out of the timer start page either by not making it parallel, erasing the event (if you want this event to run again if you leave the map and come back) or putting Self Switch A: ON at the end and making a blank second page with self switch A checked if you don't want it to run again. You common event is also parallel so it's going to keep running again and again so you may want to turn the unlucky switch off at the end to stop it.
thank you
The event doesn't kill the player, it starts a boss fight.
I'm wrong. The OP said it wanted to start a boss fight, but it does in fact just call Game Over.

But I agree, I don't see the point of a 1-second timer. Either the timer should serve some purpose in having an amount of time, or just make it happen instantly as you describe.
Ok, just so just to clear the air, I wanted the item (curse of luck) to activate a timer that counts down.
When the timer depletes, a secret boss fight will happen. I had the timer set to one second because I was trying to figure out why the timer wouldn't deplete. I had it on the game over to make sure it worked.
Okay. Well, you've been told what's wrong with your event and how to fix it, so go ahead and implement those changes.

If you still can't get it to work, post the revised version.

Original thread: https://forums.rpgmakerweb.com/threads/timer-trouble.160360/