RMMV - Quest Criteria: Talking to several people

Hi all,

New to RPG Maker - I've gone over the basic questing and switch/variable tutorials, but can't quite figure out what to do here.

Basically, my quest dictates that you need to talk to several people to complete the quest, but you can talk to these people in any random order. So if I'm not mistaken, that would remove the ability to use a variable, eg, with 4 people to talk to, you could talk to the person who sets the 4th variable first, and complete the quest prematurely.

Is there a way through this that I'm not spotting, or is this just not possible?

Thanks for any help you can provide 🙂
Just make the variable +1 per people spoken, so no matter the order you need to speak to all 4 to get the necessary value.

Dont use control variables equal to, use "add" instead.
From what it sounds like, you want to keep track of a total number of npcs that the player talks to. This may require using switches. Even if you add a +1 to a variable after talking to a npc, what's stopping them from just talking to the same npc & triggering the +1 effect each time. You're going to need a switch for that.

You could use self switches actually. Even if the npc says the same thing over & over, you can set the 1st page to say the message, add +1 to the variable, then set the self switch to A, then on the 2nd page, set the page condition to Self Switch A, copy & paste the message onto that page (if you want them to say the same thing) but exclude the +1 to variable.

This way, a npc can only trigger the +1 once, then never again, unless you decide to change the self switch back to off.
Animebryan's idea seems good! I'd suggest using a Conditional Branch to check the self-switch rather than a whole new page, but that's up to you~

◆If:Self Switch A is OFF ◆Text:None, Window, Bottom : :Hi! Who are you? ◆Control Variables:#0007 NPC Intro Count += 1 ◆Control Self Switch:A = ON ◆ :Else ◆Text:None, Window, Bottom : :Hi again! ◆ :End
Thank you all so much! @Animebryan, those steps worked perfectly, and I'll keep the conditional branch in mind as well @caethyril. Much appreciated for your speedy help!

Original thread: https://forums.rpgmakerweb.com/threads/rmmv-quest-criteria-talking-to-several-people.138724/