Hey I'm having some issues with an event where a switch activates and is supposed to show a new tile. I have almost the same exact event that's on page 2 on the bottom of this crack and it changes no issue. Can anyone tell me what I am doing wrong?
MZ Can anyone tell me why this event isn't displaying the tile?
RPG Maker MZ SupportI am not sure how those walls are set up where I think your cracked wall sprite is suppose to appear, but if I had to guess the top half of the wall is star passability which means it's above characters.
According to your event page, the priority has been set to the same as other characters, which means it is appearing below the wall tile.
According to your event page, the priority has been set to the same as other characters, which means it is appearing below the wall tile.
Currently the top half of the wall is made of three layers. The wall itself, the initial crack and then the top border. All three layers are set to x for being passable, the top border tile is set to on for the counter setting however so that the event can be triggered. I was having an issue with not being able to trigger the event without the counter setting being on for that.
The event could activate a self-switch which enables a separate event page that has a higher priority.
So activation event -> same as characters
-> do thing, turn on self switch
event page 2 -> priority above characters.
So activation event -> same as characters
-> do thing, turn on self switch
event page 2 -> priority above characters.
Make page three have the same requirements as page two in addition to needing the item in your inventory and see if that corrects it. RPG Maker will always use the last page with that returns true, IIRC. So if you have that item in your inventory, it will skip over pages 1 and 2 since the only requirement for page three is to have that item. Try to make the page requirements progressive.
Alternately, copy page 2 to page 4, then delete page 2. You are setting the 'last' part of the event in the middle of the pages.
Alternately, copy page 2 to page 4, then delete page 2. You are setting the 'last' part of the event in the middle of the pages.
This worked perfectly. I don't know what compelled me to put it out of order, but I'll make sure that I don't mess that up again. Just wanted to double check though, events read the pages left to right?
Not quite left to right. It will always use the LAST page (right) that returns a true result on that page's conditions. So, if an event has three pages, and pages 2 and 3 are both returning true conditions, page 2 will be skipped and page 3 will be the one that executes on activation. If I'm remembering right.
EDIT: So if page 1 turns on a switch, and page 2 needs that switch to be on, and then page 2 gives you the item you need for page 3, page 3 will then be the active one because while page 2 and 3 are both true, page 3 is the last page.
Original thread: https://forums.rpgmakerweb.com/threads/can-anyone-tell-me-why-this-event-isnt-displaying-the-tile.180350/