Save event

So I'm trying to make a savepoint for my game but whenever you save and close the saving window it reopens. \


The reason I have the same first and second event pages if because of the Switch A, if I didn't have the first page the book would be invisible. The problem im having is with the last Save it opens up the saving menu perfectly fine but when you close it instead of the Self switch activating it reopens the saving menu.

SAve1.png

Save2.png

Save3.png
You need to turn off the Self Switch B on page 3. I recommend removing page 2 to simplify the event.
That's because switch B is still ON, so page 3 will always run once you make it active. Remember that pages always run the top page that is valid.


That being said, there is no need to put all of this in a seperate event at all. Just ask the player if they wish to save, then inside the yes choice change the graphic of the book (via a set move route command), then state your text, then change back the graphic. All done in one event.


Also you don't need the 1st page either. Just set direction fix to ON, and the book will stay on screen. Or make the book a sprite instead.
that is because you never switched off the self-switch B - but you don't need three pages, it can all be handled in a single page.


Remove the second page (which is completely useless)


place the commands of the third page (the show text and the open savescreen) in the yes-branch of the first page, after that also delete the third page.


Do not use any self-switch as command or as condition in the entire screen - and let the first page remain on action button.


Your entire problems come from the autorun and the self-switches. They are absolutely not neccessary for what you want.


edit: ninja'd
You need to turn off the Self Switch B on page 3. I recommend removing page 2 to simplify the event.

Perfect, thanks. 

That's because switch B is still ON, so page 3 will always run once you make it active. Remember that pages always run the top page that is valid.


That being said, there is no need to put all of this in a seperate event at all. Just ask the player if they wish to save, then inside the yes choice change the graphic of the book (via a set move route command), then state your text, then change back the graphic. All done in one event.


Also you don't need the 1st page either. Just set direction fix to ON, and the book will stay on screen. Or make the book a sprite instead.

 I thought of doing it all in one event but the Tileset-C doesn't show in the move route - change graphic and i'm too lazy to export the tileset and add to the graphic list 😛  

Original thread: https://forums.rpgmakerweb.com/threads/save-event.71803/