Help with switches/events

Hello guys,

First of all I'm extremely new to RMMV and I've been learning with tutorials and videos.

I'm in the making of my first basic dungeon/puzzle run but I've reached a dead-end and i hope you guys can help me

So basically I have an event with a conditional branch, if yes then turn on switch if no just cancel..

cMc2on


When switch is on another event should pop up..but the problem is that it doesn't..
I'm posting screen shots of all tabs of this said event, please feel free to help me

iNVzZS

iP3a8n

gU4RES

d9Ehon

bEFYuS


Last event tab (nº6) is blank

do you guys have any clue in what the problem is?

thanks in advance
not exactly - because you didn't give the most important page at all.

Highest page number takes highest priority. The five pages you gave screenshots for should work, unless the highest page 6 has a problem with its conditions.
Hi thanks for replying,

Like I said on the previous post, the last tab is completely blank

That why I don’t get where the problem is
If it is completely blank, then it will always run that page. You need to use a switch or something to designate to only go to that page after all the other pages are done.
Like I said on the previous post, the last tab is completely blank
And exactly that is the mistake.
You must never make the highest priority page to be blank, because that will always prevent all other (lower priority) pages from working.
The engine starts at the highest page number and works its way backwards. As soon as it finds a page with no conditions (which sounds like your page 6 - I'm at work & can't see the images) or with conditions that are all met, it makes that the active page.

Generally pages that are active closer to the beginning of the game will have lower page numbers, and those that are active later in the game - after certain things happen - will have higher page numbers and conditions that say when they're active.

The very first page is the only one that should ever have no conditions.
Ok I get what you're saying

But if event one turns switch1 on then the second event kicks off ( first page has condition switch1) it bypasses the last page (page 6 which is blank) right?
But if event one turns switch1 on then the second event kicks off ( first page has condition switch1) it bypasses the last page (page 6 which is blank) right?
NO, IT DOES NOT.
Page 6 will always have priority over page 1 as long as its condition is either true or blank.
Triggering the conditions for page 1 will do absolutely nothing if page 6 is already active - that is what priority means.
Ok, it worked

thanks for the help guys
Ok I get what you're saying

But if event one turns switch1 on then the second event kicks off ( first page has condition switch1) it bypasses the last page (page 6 which is blank) right?


No. I said exactly the opposite.

The engine starts at the highest page number and works its way backwards. As soon as it finds a page with no conditions (which sounds like your page 6 - I'm at work & can't see the images) or with conditions that are all met, it makes that the active page


It looks at page 6 (the highest numbered page), which is blank (no conditions) and makes it active. It doesn't even look at any other pages as soon as it sees that.
No. I said exactly the opposite.


Yea i know, i said i got you meaning, I was just trying to figure the proccess out in my head

It looks at page 6 (the highest numbered page), which is blank (no conditions) and makes it active. It doesn't even look at any other pages as soon as it sees that.

Yep that was exactly the problem, tyvm for your help 🙂

Original thread: https://forums.rpgmakerweb.com/threads/help-with-switches-events.95059/