A character invovled in 2 unrelated quests... how to make that? [Solved]

I've been making quests for a while now and so far it goes fine.
But I'm getting to the point where a character can be involved in multiple quests that are unrelated to each other... and can be completed in any order.

How would I go about making the event-pages for this character? If the quests can only be completed in order.. then it is easy to do... just put the event-pages in the right order. Page 1,2,3 for Quest 1... and Page 4,5,6 for quest 2.
But what if I want to complete the 2nd quest first? How should I set this up?
I would use Switches or a couple of Variables and use those for the Event Page conditions. That way you can activate any Event Page at any time based on the conditions you set.

Right now, I have an Event with 20 pages that all have a unique Switch. And the active page of that Event is constantly changing by just turning Switches on and off.
You also don't need to use separate event pages unless the image of the event should be different.

It sounds like everything you want to do can just use the basic Conditional Branch event command.
instead of counting pages for quest completion, you should count the steps inside a variable and have the entire sequence for one quest on one page - or even all quests on that one page-
I would use Switches or a couple of Variables and use those for the Event Page conditions. That way you can activate any Event Page at any time based on the conditions you set.

Right now, I have an Event with 20 pages that all have a unique Switch. And the active page of that Event is constantly changing by just turning Switches on and off.
I do use the variables plenty for the quests, but I use them basically for each event page. Page 1 is for Quest_Variable=1, and page 2 is for Quest_Variable=2.

But your suggesting is more; (for exampe)
When the quest starts, activate a Switch 'Quest_1_Active'... and have all the possible dialogue for that quest on the 2nd page.
Then when the quest is done de-activate 'Quest_1_Active'.

If I do that for the event pages... will the event go back to the default 1st page after I deactivate that switch?
So... default is Page 1 with no conditions
During the quest I activate the switch to get Page 2.
After the quest is done, I deactivate the switch and the event goes back to Page 1.

Am i getting that right? Just double checking 🙂
If I do that for the event pages... will the event go back to the default 1st page after I deactivate that switch?
Of course. The event can only go to a page that it meets the conditions for.

But, as a few of us have mentioned, there's no innate reason any of this needs to be on separate pages at all.
To answer your question another way that helped me understand, an Event will always run the HIGHEST page where the conditions are met. It doesn't matter if there are lower pages where the conditions are also met. The Event will always run the HIGHEST page.

And, as mentioned, unless it confuses you, you should be able to use just one Event page with a series of Conditional Branches to check the value of your Variable to determine what part of the quest/NPC interaction should be applicable at any given time. By changing the Variable value, you change which Conditional Branch runs.
I do use the variables plenty for the quests, but I use them basically for each event page. Page 1 is for Quest_Variable=1, and page 2 is for Quest_Variable=2.
instead of using the variable to switch pages, have it switch sections on the same page:

conditional branch quest_variable = 1
>> do this
conditional branch quest_variable = 2
>> do this
conditional branch other_quest_variable = 1
>> do this

all on a single event page, and you can trigger any quest on that page
Thanks for the replies and explanations folks.
I see I've been using the event pages extremely inefficient.

This will help me limit the 'spagetti-code' for the game I'm making.
Thanks all!

Original thread: https://forums.rpgmakerweb.com/threads/a-character-invovled-in-2-unrelated-quests-how-to-make-that-solved.167651/