I'm very new to RPG Maker, and I'm working on a project where I have an open book in a room. If the player goes to the book and presses the action button, they'll read the first page of the book as a text box, then it'll end. If they press the action button on the book again, the second page text will open up, then close. Same with the third page. When the player finishes reading the third page and hits the action button again, a choice dialogue will come up asking them if they want to re-read the book. Here's my problem: I don't know how to make it so that if the player chooses "Yes," the book will go back to page one due to the self-switches I have in place.
Any help?
A very simple (maybe overkill) way is to use 1 event with 4 EVENT pages.
1st event page has no conditions, and will show first page of book, then turn on self switch A
second page runs on self switch A and will show second page of book, then turn on self switch B
Third event page runs on self Switch B, will show third page of book and then turn on self switch C
Fourth event page runs on self Switch C, will show the player choice. If yes, self switches are all turned off.
if you use selfswitches for each page, than you have to set it up like this
If selfswitch A = ON, (on page 1)
than selfswitch B = ON (on page 2)
than selfswitch C = ON (page 3)
Than Selfswitch D = ON (on page 4) with a conditional branch
show choices, yes, no
if yes:
SelfSwitch A = OFF
SelfSwitch B = OFF
SelfSwitch C = OFF
SelfSwitch D = OFF
if no
Nothing happense (unless you want text here)
Thank you for everyone's help. The instructions worked, however I'm wanting the text of the pages to restart on their own if the player chooses "Yes" and not through player interaction. So right now if the player says "Yes," the text (pages of the book) will disappear, and if the player interacts with the book via the action button again, the player will read the book at the beginning. How do I make it so after the player says "Yes," the text from page one will begin immediately?