RMRK is retiring.
Server is paid up for the rest of 2026, but the forum may go after that. See here for more information. Please archive or save anything you would like to keep before 2027.
Main Menu
  • Welcome to The RPG Maker Resource Kit.

Saving menu

Started by APG, November 08, 2009, 08:43:41 AM

0 Members and 1 Guest are viewing this topic.

APG

I'm trying to make a system where if you press "1" the save menu comes up.
How would you do that?
Thanks
Baaaa

Sirius

You'll need a parallel process in the corner of all of your maps checking if you've pressed the 1 key.

So, make your event, set it to parallel process, and set up a key input process (Page 3). Take a look at this picture, and note that pressing the 1 key sets the variable to 11 (it'll explain why there's a conditional branch set up like that later).

[spoiler][/spoiler]

The rest is really simple. Make a conditional branch where the condition is if [whatever variable you saved your key input to] is 11, then open your save menu.

[spoiler][/spoiler]

APG

Thanks!
I figured you could also use common events
Baaaa

Sirius

Oh yeah, I guess you can. That'd make things easier :P

Jaffer

I would put a "Wait for Key Press" in that event code.  Since it's parallel process, it won't interfere with your standard movements, but having it parallel process with no wait means you'll have a mean infinitely processing loop.
I'd also make a switch that disables/enables the Ability to save.