Shopkeeper Not showing Up

I created a shopkeeper, who can sell things but also has the ability to fully restore your health and mana for gold, but when I test the game, he isn't even there. Capture.PNG
You have a second page in that event. Can you show an image of that page?
think the problem is with the control swtshs
The problem is almost certainly going to be that second page in the event. Higher-numbered pages will take priority, meaning that if the conditions for that second page are met, your first page - the shopkeeper - won't show up.
Including if there are NO event conditions on the second page.


You should also do a test to see if the player HAS 10 gold 😉 And you should probably have him heal the player if the player pays to be healed.
Crap, I didn't set the control switch to on on the first page. Once I get to my other comp ill check it and let you guys know if it works.
Setting a switch on the first page would not make it show up if the second page is the active one. It goes through them from highest to lowest and stops when it finds one that has no conditions or where all the conditions are met. So page 1 needs to turn on a switch or self switch or do something with a variable, and page 2 needs to use that as one of its conditions, so it can't become active until after page 1 is finished.
Okay, all the second page holds is this:
Capture1.PNG
The first page is this:
Capture.PNG


And yes, I'm positive the player has 10 gold, but even if he didn't why would that make it so the shop keeper doesn't show up?

EDIT: Ok, so I managed to fix it, I completely removed the second event page, as well as the "Initial Gold" switch, and everything works perfectly. For some reason, 11pm me thought that I needed a switch to stop the -10 gold loss. But I don't because the -10 isn't set on auto run. Thanks for everyone's help btw.
The problem was that both of the pages had the same conditions - they were both conditioned by switch 1 being on.

So, as I said, it goes from highest numbered page to lowest. If switch 1 was on, page 2 would be active because that would be checked first and the condition is true. If switch 1 was off, neither page would be active.

I think you need to read up on switches and multiple pages on events. Based on your explanation above of the problem and solution, you don't understand what's going on or why it wasn't working. You really need to have a good grip on this, because the entire game will be built with multiple event pages and switches (or some other condition to control them).
If that was the second page, then the shopkeeper didn't show up because the switch 1 was already on.

And this means there is already something in your project that activates that switch, even without the control switch command on your first page.

That is the true error you had, and you didn't solve that error. You need to find out where the switch 1 is already used before you get other problems as well.
@Andar it could also be that switch 1 was off. As both pages were conditioned by switch 1, neither of them would be active.

@TicklishWasabi if you are using plugins, make sure you check what switches/variables they are using. They could just default to switch 1, which would also produce the effects Andar is talking about.
@Shaz check the first screenshot with the first version of the first page, it was not yet conditioned to switch 1.
That is why I mentioned that case, because if the bug happened with that and the condition was only a later test then something did activate the switch without the OPs knowledge.
Ah, forgot that one. In that case, it could be either that page 2 originally had no conditions either, and the OP added the condition to both pages at the same time, or as you say, it was conditioned by a switch that was already turned on elsewhere.

Original thread: https://forums.rpgmakerweb.com/threads/shopkeeper-not-showing-up.86922/