Dialogue triggering

Hi everyone,

Well Steam had a huge sale on RPG maker software and being a sucker for a 80% off tag, here I am. 

So I've been playing around and I feel I've gotten the hang of making maps, linking them together and also creating basic events. But for one event in particular I am having serious trouble. I've been trying now, for almost a day to get two NPC's to converse with the player character and trigger a progression onto the next map.

I'll try to explain as much as I can about what I've got set up and the problems I've encountered.

So basically upon entering the shop, the PC is faced with two NPC's, and when activated for the first time they should say different things.

NPC1 - *Smiles Sweetly*

NPC2 - Has the dialogue that progresses the story.

The second time they are activated, it changes thus.

NPC1 - Dialogue to progress story

NPC2: Is now a Shop.

NPC2 is working fine, however NPC1 is still stuck on her first page of dialogue, and she continues to *Smile Sweetly*.

I've attempted to use a Switch, placing it on it's own page on NPC2, just before the Shop Processing tab in the event page, but all this does is causes the shop interaction to loop endlessly. I've got the self switches working to flow from tab to tab, but every time I add a Switch is causes real problems.

I'm doing something wrong obviously and I have read tutorials and other threads here to assist in tackling other issues I've had along the way, but this one has got me pulling my hair out.

I'll put some SS so you can see what I have... I hope it's obvious to someone!

Thank you in advance.

NPC2

  RPGmaker Snip1.PNG

First lot of story dialogue

RPGmaker Snip2.PNG

Switch being turned on. 

RPGmaker Snip3.PNG

Shop Process

NPC1

RPGmaker Snip4.PNG

Her first dialogue,

RPGmaker Snip5.PNG

Second dialogue, which should be active after the switch above is turned on.

RPGmaker Snip6.PNG

Then she should leave the room.

So to recap... I have a shop loop of death with an evil NPC smiling at me the whole time.
You most probably have a problem with page priority - the second page of the first set for example will never be processed.


If two or more pages have their conditions fulfilled, the engine will only execute the one with the higher page number and completely ignore the other.
For NPC2 delte the second page.On the first page turn on the self switch and turn the "nolwe intro switch" on, make sure the "nolwe intro switch" is before the self swotch. On the second page, which should now be the shop page, remove the turn "nolwe intro switch" on. Also you can escape the shop when you press cancel(And there's no loop or parrellel process to cause the shop to keep looping).

For NPC 1 it should work once you've made the changes to NPC 2.
For your second NPC - why have you used self switch B?  Just because you have used A on another event, does not mean that you cannot use A on this one.  Each event's self switches affect only that event, and no other.  (That's why it's called a 'self' switch.)  So you can safely use A on both.  When you start getting to more complex events where you want several self switches, you will need to be able to use them all.

Original thread: https://forums.rpgmakerweb.com/threads/dialogue-triggering.40580/