How do I stopped a 'control: timer stop' event from triggering?

I have a timed event (Let's say it's a race) that stops when you reach a certain spot and another event that triggers when you don't. But if you reach it with zero seconds left both events trigger. So how do I stop it so only the out-of-time event triggers?
Hello!

You need to show how you did the "event", but I'll try to deduce the cause of the error:
There is a logic, the player cannot win if they reach 00:00, only within the limit of 00:01.

Something like:
Code:
@>Conditional Branch: Timer 0 min 0 sec or less
  @>Comment: Failure!
  @>
 : Branch End
@>Conditional Branch: Timer 0 min 1 sec or more
  @>Comment: Winner!
  @>
 : Branch End
@>

Or using just ELSE (Recommended):
Code:
@>Conditional Branch: Timer 0 min 0 sec or less
  @>Comment: Failure!
  @>
 : Else
  @>Comment: Winner!
  @>
 : Branch End
@>

Conditions without ELSE are for when you have more than 2 situations.
You could also try conditions depending on the situation:

If you are at the finish line (place determined by a region) and the time is 00:00 or more, you win.

if you are not at the finish line (determined by a region), and the time is 00:00, you lose.
For more time checks, it is necessary to use the game variables:
VXA-Timer.png

Cronômetro = Timer
Sorry, Steam's RMVXace works in the operating system's language, so I can't show you examples in English correctly.
Hello!

You need to show how you did the "event", but I'll try to deduce the cause of the error:
There is a logic, the player cannot win if they reach 00:00, only within the limit of 00:01.

Something like:
Code:
◆If:Timer ≥ 0 min 1 sec
  ◆Comment:Winner!
  ◆
:End
◆If:Timer ≤ 0 min 0 sec
  ◆Comment:Failure! T.T
  ◆
:End

Or using just ELSE (Recommended):
Code:
◆If:Timer ≤ 0 min 0 sec
  ◆Comment:Failure! T.T
  ◆
:Else
  ◆Comment:Winner!
  ◆
:End

Conditions without ELSE are for when you have more than 2 situations.
Can you translate that into VX Ace? Here is everything I have for it
I'm sorry I was wrong.
I edited and corrected now the previous post, see how the example was.
For more time checks, it is necessary to use the game variables:
View attachment 195854
Cronômetro = Timer
Sorry, Steam's RMVXace works in the operating system's language, so I can't show you examples in English correctly.
Nope. Doesn't work. I can still trigger both events.

You could also try conditions depending on the situation:

If you are at the finish line (place determined by a region) and the time is 00:00 or more, you win.

if you are not at the finish line (determined by a region), and the time is 00:00, you lose.
Can you give me a screenshot of what it looks like?
I'm sorry I was wrong.
I edited and corrected now the previous post, see how the example was.
Nope. Doesn't work. Can still trigger both events.
To be honest, you showed the pages of 2 different events, and they all use the same Switch.
The best thing would be for you to copy this part of your game to a new project and send it via a sharing service:
Google Drive, Mediafire, Dropbox, OneDrive, etc.
To be honest, you showed the pages of 2 different events, and they all use the same Switch.
The best thing would be for you to copy this part of your game to a new project and send it via a sharing service:
Google Drive, Mediafire, Dropbox, OneDrive, etc.
Yes, they all need to have the same switch. The start timer. the countdown timer and the stop timer all need to be active. There are other pages before and after them so that's why I put the switch there. I don't think I can send it because anyone that dl the unencrypted link will just get a free copy of the game.
I don't think I can send it because anyone that dl the unencrypted link will just get a free copy of the game.
Which is why Dev_With_Coffee said to copy only that part of your game.
Start a new project with one map made with the RTP which has the same regions/events etc that you need to test this mechanic. Include only those scripts (if any) which this mechanic needs. Nothing else. So no game, just this one map.
Can you give me a screenshot of what it looks like?
Spoiler: Sample
Sample.png

Note: you can puts 00:00 sec or less in the condition for region 2 and it will be the same.
Spoiler: Sample

Note: you can puts 00:00 sec or less in the condition for region 2 and it will be the same.
IDK what I'm doing wrong but it doesn't do anything now.
Which is why Dev_With_Coffee said to copy only that part of your game.
Start a new project with one map made with the RTP which has the same regions/events etc that you need to test this mechanic. Include only those scripts (if any) which this mechanic needs. Nothing else. So no game, just this one map.
There are too many moving parts. I just tried it and deleted one thing and now it crashes and I have no idea how to fix it. I would still have to go into the game files and delete all the stuff that I paid for ontop of that. And there is a lot of stuff.
Hi again, I think I can work with the images, but it would be better to see the project through the editor. 😅

I think I get it, you put the events with the same Switch, something that will clearly conflict with each other. Time 1 will happen and time 00:00 will also happen because both are allowed by the same Switch and the timer does not stop.

You can stop the timer if the time is longer than 1 second. But all the methodology used is not coherent.

You have to check once if the player arrived in a 00:00 or less time and activate a switch for defeat and in Elseit will activate a switch for victory. So no event will happen at the same time as the other.
:LZSwink:

It would work if I had done it with the variable as I said before, but as you are using Common Event is better Switch.
Hi again, I think I can work with the images, but it would be better to see the project through the editor. 😅

I think I get it, you put the events with the same Switch, something that will clearly conflict with each other. Time 1 will happen and time 00:00 will also happen because both are allowed by the same Switch and the timer does not stop.

You can stop the timer if the time is longer than 1 second. But all the methodology used is not coherent.

You have to check once if the player arrived in a 00:00 or less time and activate a switch for defeat and in Elseit will activate a switch for victory. So no event will happen at the same time as the other.
:LZSwink:

It would work if I had done it with the variable as I said before, but as you are using Common Event is better Switch.
The problem is not the timer stopping. It works fine. The problem I am having is that when the very second the timer reaches 00:00 and I step on the finish line both events still trigger. Any other time it works as intended.
So which one do you want to take priority?
If it is the finish line then maybe the first check will be to stop the timer so that maybe the timer event will not run when reaching 0. It would be a test I'm sure, I have no idea if that would actually work.

Are you able to put the two events into one and do checks for which to process?
If you are going to test my method, you have to respect the spaces in the script sequence (syntax).

In the second image I notice that you made a script call instead of a script call condition event.

Use different regions for each action.
So which one do you want to take priority?
If it is the finish line then maybe the first check will be to stop the timer so that maybe the timer event will not run when reaching 0. It would be a test I'm sure, I have no idea if that would actually work.

Are you able to put the two events into one and do checks for which to process?
Reaching the finish line stops the timer. The two outcomes are linked into one event.
If you are going to test my method, you have to respect the spaces in the script sequence (syntax).

In the second image I notice that you made a script call instead of a script call condition event.

Use different regions for each action.
Fixed it. Nothing changed. UPDATE: I managed to fix the problem. It was so simple.

Original thread: https://forums.rpgmakerweb.com/threads/how-do-i-stopped-a-control-timer-stop-event-from-triggering.138651/