Event Problem

Hello

I can't seem to get an event to run i do what is required to get it to run and it doesn't do that it just shows an empty room with no door. How can this be fixed?
I can't read al of that, please post them as one event page per screenshot. However, from what I could make out, page 5 has no condition on it, so page 5 will always be valid. Remember the event always runs the highest numbered page that is valid, which is page 5 in this case.
here is this better
Better. And yes, page 4 is always going to run, no matter what. The engine always runs the highest numbered page that is valid, and since page 4 has no conditions on it, page 4 will always be valid. This means pages 1 - 3 will never run with that set up, no matter what.

A better set up would be:

Move your page 4 to page 1.
Cut your current page 1 completely. You can add that as a conditional branch to your new page 1. There's no need for a separate page just to see if you can go into the inn or not.
Pages 2 and 3 are going to have to go into another event. There's no way for those to run, unless you really mean for that discussion to occur with the party under the door.
so how can i fix the problem?
Change your page set up. I posted above a little on how to fix it, but since I don't know what you intend to happen it will kinda come on you. Just know that the engine always runs the highest numbered page, no exceptions.
sorry didn't notice but i do intend for the discussion to occur with the party under the door and i have moved page 4 to 1 and added transfer player and put page 1 on parallel process and removed page 3 and replaced control self switch D with transfer player. Will it work now?
Not quite. There's nothing to make pages 2 and 3 to ever work. You see, when you end the page, the event ends. It doesn't go to the next page. So the way you have it set up, once they enter the room, it will just remove the actors...and stop.

So if you want that discussion to ever happen, try this:

Page 1: Set it up so that it checks if it is time to use the inn (your old page 4). If it is, then check for the key (your old page 1). If both are met, then check for the pages (your current page 2), and if they are present, do the discussion (and turn on self switch A when done). If not, do whatever it should do if they are not present (rest I think?)

Page 2: Set to run if Self Switch A is on: Standard resting event, or whatever you want to happen if they come here afer the discussion about the pages.

That's it. No need for more pages.
i made it so that the translated book part would be gotten from in the room so will it work now with the changes i made to the event?
No. You see, when you run page 1, once it hits that Switch 52 = ON command, that is it. The event will stop. You need to put the rest of what it should do in that event.
if that is the case i will never finish my game surely there is way for it to work that way?
I've changed it to make it into two different events, will it work now?
Nope. The problem is, when you run an event, you only run what is on that page. Period. Pages do not transition to another page under any circumstances. What you need is another way to make the other event work, which is usually done via a switch (not a self switch) or a variable, and the second event is set to autorun when that switch (or variable) is set. Then it will work. Just make sure to disable the switch (or reset the variable) when the autorun is done, or it will run forever!

So, if you wish to do that, your second event should be as follows:

Page 1: Run if switch x is ON (pick one that is not in use). Be sure to turn on that same switch in your previous inn event before you transfer the player (probably via a conditional branch are the translated pages in the inventory)!

Then, for the event, drop the conditional branch. It's not needed, and should never be there in that case. Then, at the end of the event, turn that switch OFF.

Just be sure to name the switch so you know why it is used, and don't use it again, else this event will run again!

Also, just remember: Autorun = always runs. So those have to be turned off or you will get stuck in a loop. Action button means you have to hit spacebar to activate it, which is why it is not running, as someone has to activate the event again by hitting space on it!
going by that logic my previous events that i have which are like the second event (that's the one with the dialogue) would not run when they do. So i ask again will it work?
It should. But you probably have those set up differently than this one in subtle ways. (aka maybe you used an autorun or a parallel process on them)

However, you may wish to also check out some stuff on how events, switches, variables and event priorities work (there's a link for a tutorial on that in my signature), as that seems to be where your error is. Working through that can save you a load of grief later on.
I'll test it out and if i still have a problem i will let you know
Ok. Just make sure that if you are the last post in the thread to edit your previous post though (unless it is more than 72 hours). I'll be at work soon, but someone else can assist if another issue arises.

Original thread: https://forums.rpgmakerweb.com/threads/event-problem.79641/