I have an event in my game where an NPC gives the player 100 gold but the thing is I can't figure out how to make it so once you have completed the dialogue branch once he wont give you the gold again. Because the dialogue just keeps cycling through so its just like an infinite gold grinder.
NPC Dialogue Changing
RPG Maker VXAce SupportSwitches and multiple event pages.
Follow the link in my signature. And welcome to the forum 🙂
Follow the link in my signature. And welcome to the forum 🙂
There are a lot of tutorials that will handle this, even in the official tutorials.
The short version is, there are a lot of ways to do it through variables and self switches and more. But an easy one to use, if it's not part of anything else in your world, make the event end with turning a "self switch" on. Then add a new event page to the same event, and make sure that the option for "self switch 'x'" Is checked. Then fill in whatever dialogue/stuff you want on the new event page. That means that when the event is complete, and you get the gold, it also turns on a switch for that event. When you go back, it checks to see that the switch for that event is on, and just displays the new event page, and whatever you entered on that.
Activate self-switch (A,B,C or D) after the money is given.
Then have a new eventpage for when the Self-switch is ON .
In the new event page just have whatever dialogue - commands you want.
Then have a new eventpage for when the Self-switch is ON .
In the new event page just have whatever dialogue - commands you want.
Original thread: https://forums.rpgmakerweb.com/threads/npc-dialogue-changing.41356/