Once Branches

How can I make it that in an event, somebody says something the first time you talk to him and then something else the next time you talk to him?
After the first talk, control a self-switch ON and make that self-switch a condition of the second event page, where you place the different text for the next times.


This (use of switches and conditions) is basic eventing, so I suggest to reread and check the tutorials for that.


If you don't know where to start, follow the link in my signature
By using a self-switch. You could either use a conditional branch on the same page or a new event page.


For the first method:


Conditional Branch: Self Switch A == OFF


Text: "Your first message here."


Control Self Switch: A = ON


Else


Text: "Your second message here."


End


For the second method, see Andar's post. I'll also second his recommendation to read some tutorials as this is a concept that really forms the backbone of game progression.
Try out the Variables Guide, it includes a way to get your NPC to control himself say different things.

Original thread: https://forums.rpgmakerweb.com/threads/once-branches.21097/