Conditional branch events not triggering despite the fact that conditions are met

Okay, so I am absolutely clueless on this one. The event is incredibly simple. It checks if a vehicle is being driven, if it is, it disables random encounters, if not enables random encounters
My event looks like this:
1694940741096.png


Seems simple enough.

When I get on the ship, I do not encounter monsters that are set to "entire map", which is the one rare boss encounter that drops a special item.

However, when I go back on land, random encounters are still disabled despite the obvious "enable" flag in "Else"

It is as if 'else' is not being triggered or the game thinks I am still on the ship when I am clearly not.

Does anybody know what the problem could be?
wrong assumptions

the event is triggering without a problem, and all commands work as intended.

your problem is that the engine itself automatically disables encounters whenever vehicles are used, so trying to activate encounters by event command does exactly nothing
Then what else can I do to prevent encounters from happening when you're on the ship but do have random encounters when I am off?

Edit: Did you even notice that it is a parallel process? It should run constantly so when I get off the ship, the else should trigger.
Then what else can I do to prevent encounters from happening when you're on the ship but do have random encounters when I am off?
that is the automatic default, just do nothing and keep the encounters permanently on, and no encounter will happen on the ship.

if that is not the case for you, then you added a script that changes the default behaviour and you need to find which script does that and either remove or change that.
I do encounter the monster while on the ship.

This is a list of my scripts. None of these should change the encounter behavior unless one of these people snuck something in that should not be in there.

1694948534496.png


Edit: I went through all those scripts and there is nothing that would change the default behavior for random encounters. You must be mistaken when you said I would not encounter monsters while on the ship. I feel that "entire map" literally means "entire map" for troops.

Edit 2: If you want to take a look at my scripts to see if you can find out what is causing it, feel free.
Okay, so I am absolutely clueless on this one. The event is incredibly simple. It checks if a vehicle is being driven, if it is, it disables random encounters, if not enables random encounters
My event looks like this:
View attachment 276810

Seems simple enough.

When I get on the ship, I do not encounter monsters that are set to "entire map", which is the one rare boss encounter that drops a special item.

However, when I go back on land, random encounters are still disabled despite the obvious "enable" flag in "Else"

It is as if 'else' is not being triggered or the game thinks I am still on the ship when I am clearly not.

Does anybody know what the problem could be?
Is switch 526 definitely turned on?
It definitely is on. Otherwise the disable encounter would never have triggered in the first place when I got on the ship. The fact that the encounters are disabled in the first place should say that it is on.

I have no events whatsoever that turn that switch off. The switch turns on when talking to an NPC required to progress.

I took the ship and was encountering random monsters, I added that event and I was no longer encountering monsters while on the ship, but when I got off, randoms are still disabled.

We are talking about the water ship, not airship if that clears any information up.
This is just a wild guess, LOL, but when your parallel event is running, it is constantly launching that change encounters ON. Is there something in that command that resets the timing of the encounters or something?
This is just a wild guess, LOL, but when your parallel event is running, it is constantly launching that change encounters ON. Is there something in that command that resets the timing of the encounters or something?

I never worked with VXA but I believe this is the issue based on the corresponding command in MV, which indeed resets the encounter step count.
So if you want to make that event, it should be (adding waits would be good):

PAGE 1:
If Ship is driven
-> disable encounters
-> self switch A ON

PAGE 2 (self switch A):
If Ship is driven
-> [nothing]
Else
-> enable encounters
-> self switch A OFF

Original thread: https://forums.rpgmakerweb.com/threads/conditional-branch-events-not-triggering-despite-the-fact-that-conditions-are-met.161245/