Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

Save point script wanted!

Ok i need a save point script for RPGXP and I cant find any and i've been searching for months.

I want to make it so that when you press "action button" on a save crystal it saves to file 1 with no selection, save screen or anything, using the script call.
sorta like:

Script: ???????????
        ?????????
        ??????????????

If there is anyone who can help it would be great. Thanks in advance!
 

Atoa

Member

lol
and why you need scripts for this.
It's really impressive people that ask scripts without look in the events...

Man just make an event and call save menu.
RMXP isn't 100% based on scripting, lot's of things can be easly done via events.
 
No, what i mean is that no extra screen comes up, like this:

@> Show choices: Yes, No
    :When [Yes]
@> Script: ???????
    :??????
@> Show text: Your game has been saved.

Like, so the screen remains on the map at all times.
 

Tdata

Sponsor

Just make a common event with your show choice and this as the Yes option:
Code:
file = File.open("Save.sav", "wb")
@save = Scene_Save.new
@save.write_save_data(file)

There is more than likly a better way, but his does work.
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top