Question is, how to create an npc, that will have base random quotes on the main event page and special dialogues on other pages, that are triggered by switches. I mean, I don't know how to organise it, because event pages have priority and only 2 switches condition.
I just want to make stable system that will show dialogues depending on the world states only once, and then it must return to basic state with random quotes.
You can make an extra copy of the default dialogue page. Page 1 default dialogue, page 2(Switch special dialogue on) special dialogue, page 3 Default dialogue again.
This way you can just have "self switch A" on the end of page 2 to jump to page 3 after being done with your special dialogue.
Doing it that way is rather simple imo. It allows you to just use 1 switch for all NPCs that are supposed to have a special dialogue after a specific event, and then just use a self switch to "return" to default.
Hello human, your interest in the dialogues is most respectable! Free chicken for you! But beware the double posting! It is a crime in some areas of teh internet forums. But you are all good for you are not a pattern!
Hmmmmmmmm... I looked at your picture but did not read it! I am too busy enjoying this holiday of giving and understanding to give my understanding of your picture! So therefore, I shall interpret your intentions! And they are correct! Your usage of the variables means you're on the right track, keep this up! Your shall soon unlock the arcane knowledge that is the interaction of living NPCs.
Good day, and good luck!
instead of using the switches as page conditions they could be used in the contents as "if statements"
1 page could have more then a dozen dialog branches that way.
doing this it might be better to use a variable instead of switches though.