Do I need to use a variable or a conditional branch?
Game Mechanics DesignYou could use both. Start off with a conditional branch that you will use with a variable X = 4 and make sure you check the option for the 'else' option. Then put in what he should say if the variable is below 4 (that would be in the 'else' section of the conditional branch) and add a +1 value to the variable. Now in the first section of the conditonal branch, add what he's supposed to say after the player have talked to him 4 times (the value of the conditional branch is = 4), and add whatever you want to happen.
Just add another event page if you want the event to work differently after this.
Hope that helps.
Just add another event page if you want the event to work differently after this.
Hope that helps.
On the "leave me alone" page, increment a variable each time. Then create a new page with the new text, and set its condition (in the Conditions, above the graphic, NOT as a conditional branch) to that variable being => a certain amount.
either Variables + Branches as said above
or Variables + Another event page
set page 1 to the normal talk page, then page two for the Fine talk page, then check the variables part of the conditions tab of that page and set it to the variable you use, then put 4 on the value
then on the normal talk page, just increase the variable with 1 for every talk
or Variables + Another event page
set page 1 to the normal talk page, then page two for the Fine talk page, then check the variables part of the conditions tab of that page and set it to the variable you use, then put 4 on the value
then on the normal talk page, just increase the variable with 1 for every talk
Thanks guys. Got it all functioning properly.
You do know that both ways works the same way right? It's all about preferences. I usually do it like I suggested, but I do use your way too (if there's a switch that needs to be on as well, or some other condition).
Edit: Nevermind I read your post wrong 🙂
I also posted within 2 minutes of your post, which means I probably didn't even see your post there when I did mine 😉
This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.
This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.
Original thread: https://forums.rpgmakerweb.com/threads/do-i-need-to-use-a-variable-or-a-conditional-branch.21639/
