[RMMV] Event starts on last page?

So, I am just starting to learn RPG Maker, and I have spent the last few days trying to get the basics down. Events are giving me a headache, though. I have a several page NPC who is just there to help me understand quest giving. Nothing special. Just a 'hi, get me a sword'. 'Do you have the sword?' 'Cool, here's gold.' That's it. However, whenever I go to talk to him it just starts on the final page and that is it. Help?

I am adding the pages below. I am sure it is something simple and dumb. 🙁
The page conditions look OK. Are you testing from a new game?

Otherwise, maybe you've switched the "dead" switch on somewhere else by accident? There's an Event Searcher available via the Tools menu (there's also a button for it on the toolbar for convenience). If you select the switch in the Event Searcher and click Search, that should find all events where you've switched it on or off.
The page conditions look OK. Are you testing from a new game?

Otherwise, maybe you've switched the "dead" switch on somewhere else by accident? There's an Event Searcher available via the Tools menu (there's also a button for it on the toolbar for convenience). If you select the switch in the Event Searcher and click Search, that should find all events where you've switched it on or off.


I click New Game each time I start the test. I searched for the 'dead' event and got this:
Highest page = highest priority
If more than one page has all its conditions fulfilled, then the page with the highest priority will be the active one.

If your last page is active, then its condition is true. If that is not supposed to be, then you need to find our where else that switch is used and correct that.
OK, maybe I can help.. Because this was giving me a lot of trouble when I first started too, but @Kes and @Andar helped me meow.

Think of the first page your event starts on as the beginning, instead of thinking last page is first for a minute..
From that page, if you want him to give you a quest, to get you a sword it would be something like this..
Give me a few minutes and I'll give you a pretty tasty example meow. (Will be editing this.)
meow1.png
So, now you want him to actually be on the "next" page.. but there's a couple of ways to go about this..
We'll talk about "Self Switches" for a moment. That is a fancy way of saying, you want this event to go forward to another page
of stuff, but in a way that it does not effect ANY other events or your game in other other way outside of that event doing something.. Perfectly called a "Self Switch". Those are cool, those are fine and dandy, but if you really want to make cool features, get used to plain old Switches.
meow2.png


Alright, this makes like NO SENSE whatsoever, but bear with me, because eventually it might, meow. Now let's program the Self Switch Page so that the cat reacts accordingly for telling him No, but it won't mess with anything else in the game..
meow3.png
Ok so what I did here was.. let the cat "regive" you this choice of either getting him a sword, or being defenseless when other
cats come to steal his fish. So if you say yes about rethinking this situation you turn that self switch A back off, and go back to the first page. I basically just put this step in here to show you that you can do stuff like that. Meow. Now onto the normal Switch. It probably doesn't get said much but try to avoid using the first 20 -40 switches and variables when you start making them, because as I understand it, plug ins use switches and variables sometimes, and they fill those spots (probably not all the way up to 40, but I dunno).
So we'll make a normal Switch and I'll give an example or two of using a normal Switch and why they are so cool..
meow4.png
So now if we tell kitty meow meow that We will find this cat a sword, he'll tell us the last person to help him got eaten alive by ninja zombies, but it turns on a normal Switch, #77 (no real reason outside of just making sure not to take up the first bit of switch slots). So let's find out what all the fur is about when using normal Switches. Because you can do a lot of cool things.
meow5.png
Alright, I threw a variable in there just to kind of help explain more functions, not knowing if you knew anything about that or not.. so let's begin by breaking down what I did on this page. The "If" statement is the "Conditional" branch selection in your eventing area. I created an else branch if you tried returning to the cat without finding his sword. The Sword Found is a variable, there is no actual sword item you find for the cat, just another kind of switch called a variable. Variables are cool, but the scope of what they can do will only be mentioned here and not fully explained meow.
So.. now that quest has been accepted, by means of an actual switch.. that means, other events can be modified by means of that same switch. Let's make that castle the cat talked about.. and it's guarded by a locked door.. until you flip the quest switch.
meow6.png

Alright.. Now.. does any of this make sense?? NO! Ofcourse not. BUT! Maybe when you see this in action, you will understand meow. Let's try out really quick with some more pictures.. First let's tell this cat to do this himself because we want to make sure we can't get in the castle we programmed to be locked if we aren't on his quest.
meow7.png

ok..
meow8.png

now for the castle gate test..
meow9.png

So let's go back and renegotiate with the cat in the grocery store..
meow10.png
yes we want to rethink our decision..
meow11.png
meow12.png

OK, so I've just accepted the quest from the cat quest giver we programmed.. let's test and see if the gate is unlocked now!
meow13.png
Wait.. we did it!! Did we get teleported to a dank place with ninja zombies?!

meow14.png
I don't see any ninja zombies.. but let's save that for another day.. if ever.. meow. Well, if you need more help, or want to know anything else about variables and how to make it so when you find an object that increases or decreases a variable.. just let me know.. either here or in p.m, @geekhouse Meow. <3
just need to make sure u got the conditions section done right. most the time relying on "self switch" (game switch if from a different event) or "variable" if the quest has multiple steps to it (i tend to use variables + self switches mostly)

http://yanfly.moe/2015/10/17/yep-14-main-menu-manager/
has a helpful "debug" thing it adds to the menu during playtest that u can use to see if the switches were turned on before u talk to him.
theres probly another version that is ONLY a debug window but idk

and the event searcher will show u if more then 1 event triggers that switch
(search results dont check conditions just the event prossesses)
It looks to me like everything should be OK. (I don't know why everyone seems to be ignoring your screenshots... 😅)

The Event Searcher thing shows there's no other events toggling that switch, which is good but doesn't solve the mystery...

Maybe try pressing F9 during play test: that will show the debug window where you can check which switches are on/off (no need for plugins).
OK, maybe I can help.. Because this was giving me a lot of trouble when I first started too, but @Kes and @Andar helped me meow.

Think of the first page your event starts on as the beginning, instead of thinking last page is first for a minute..
From that page, if you want him to give you a quest, to get you a sword it would be something like this..
Give me a few minutes and I'll give you a pretty tasty example meow. (Will be editing this.)
View attachment 89827
So, now you want him to actually be on the "next" page.. but there's a couple of ways to go about this..
We'll talk about "Self Switches" for a moment. That is a fancy way of saying, you want this event to go forward to another page
of stuff, but in a way that it does not effect ANY other events or your game in other other way outside of that event doing something.. Perfectly called a "Self Switch". Those are cool, those are fine and dandy, but if you really want to make cool features, get used to plain old Switches.
View attachment 89828


Alright, this makes like NO SENSE whatsoever, but bear with me, because eventually it might, meow. Now let's program the Self Switch Page so that the cat reacts accordingly for telling him No, but it won't mess with anything else in the game..
View attachment 89829
Ok so what I did here was.. let the cat "regive" you this choice of either getting him a sword, or being defenseless when other
cats come to steal his fish. So if you say yes about rethinking this situation you turn that self switch A back off, and go back to the first page. I basically just put this step in here to show you that you can do stuff like that. Meow. Now onto the normal Switch. It probably doesn't get said much but try to avoid using the first 20 -40 switches and variables when you start making them, because as I understand it, plug ins use switches and variables sometimes, and they fill those spots (probably not all the way up to 40, but I dunno).
So we'll make a normal Switch and I'll give an example or two of using a normal Switch and why they are so cool..
View attachment 89830
So now if we tell kitty meow meow that We will find this cat a sword, he'll tell us the last person to help him got eaten alive by ninja zombies, but it turns on a normal Switch, #77 (no real reason outside of just making sure not to take up the first bit of switch slots). So let's find out what all the fur is about when using normal Switches. Because you can do a lot of cool things.
View attachment 89833
Alright, I threw a variable in there just to kind of help explain more functions, not knowing if you knew anything about that or not.. so let's begin by breaking down what I did on this page. The "If" statement is the "Conditional" branch selection in your eventing area. I created an else branch if you tried returning to the cat without finding his sword. The Sword Found is a variable, there is no actual sword item you find for the cat, just another kind of switch called a variable. Variables are cool, but the scope of what they can do will only be mentioned here and not fully explained meow.
So.. now that quest has been accepted, by means of an actual switch.. that means, other events can be modified by means of that same switch. Let's make that castle the cat talked about.. and it's guarded by a locked door.. until you flip the quest switch.
View attachment 89834

Alright.. Now.. does any of this make sense?? NO! Ofcourse not. BUT! Maybe when you see this in action, you will understand meow. Let's try out really quick with some more pictures.. First let's tell this cat to do this himself because we want to make sure we can't get in the castle we programmed to be locked if we aren't on his quest.
View attachment 89835

ok..
View attachment 89836

now for the castle gate test..
View attachment 89837

So let's go back and renegotiate with the cat in the grocery store..
View attachment 89838
yes we want to rethink our decision..
View attachment 89839
View attachment 89840

OK, so I've just accepted the quest from the cat quest giver we programmed.. let's test and see if the gate is unlocked now!
View attachment 89841
Wait.. we did it!! Did we get teleported to a dank place with ninja zombies?!

View attachment 89842
I don't see any ninja zombies.. but let's save that for another day.. if ever.. meow. Well, if you need more help, or want to know anything else about variables and how to make it so when you find an object that increases or decreases a variable.. just let me know.. either here or in p.m, @geekhouse Meow. <3


This did it! I followed this, step-by-step, and got it to work. Thank you so much. I am sure I will have plenty more questions in the future. XD
Hmm, I was looking at the screen shots provided.. and it looks like you need to put the "dead" switch in the other part of your conditional branch, @geekhouse
Also, meow, please, don't be afraid to ask, some of the most helpful and quick answers I ever got came from asking questions I never thought I'd get an answer to meow, because I felt too dumb to ask or whatever else. I hope you don't get eaten alive by ninja zombies, or traitorous cat merchants who don't want to give you fish for services rendered.. meow.
the screenshots are ignored because they are unreadable small on most computers.
@geekhouse please use alt-prtscrn instead of only prtscrn for screeenshots next time. That will limit the screenshots to the active window and show only the event in better size
If your pages are in the right order ("give me the thing" is page 1, "have you got the thing" is page 2, and "thanks for the thing" is page 3), and page 3 is always active, it is because something has already turned on the switch that conditions page 3.

You have either used the same switch for multiple purposes, loaded a saved game where that switch is already on, or you have a plugin that uses that switch and you didn't make sure nothing else would use it when you installed the plugin.

As Andar said, your screenshots are unreadable, so I can't see what you've done with switches or conditions or triggers, and if something might be wrong in there.

Original thread: https://forums.rpgmakerweb.com/threads/rmmv-event-starts-on-last-page.95196/