Is there a way to have a game save without prompting the save window?

Status
Not open for further replies.

Zoltor

Veteran
Veteran
Joined
Jan 18, 2014
Messages
1,550
Reaction score
211
First Language
English
Primarily Uses
I'm just wondering if there's a script call I can use, that will just save the game to the game you loaded from/last saves in?
 

??????

Diabolical Codemaster
Veteran
Joined
May 11, 2012
Messages
6,513
Reaction score
3,202
First Language
Binary
Primarily Uses
RMMZ
#==============================================================================# Script Call :# DataManager.sc_save#==============================================================================module DataManager#==============================================================================  #--------------------------------------------------------------------------  #  #--------------------------------------------------------------------------  def self.sc_save    save_game(@last_savefile_index)  endendPut that in your script editor and use the script call ^_^

Edit:

Just to point out, you would have to create an initial save for this to work.

For example, creating a new game and making the player select a slot, then using the call...

DataManager.save_game(SLOT_INDEX_GOES_HERE)at the very beginning of their game would be sufficient.

when they load a save file, the script call will work fine :)
 
Last edited by a moderator:

Zoltor

Veteran
Veteran
Joined
Jan 18, 2014
Messages
1,550
Reaction score
211
First Language
English
Primarily Uses
#==============================================================================

# Script Call :

# DataManager.sc_save

#==============================================================================

module DataManager

#==============================================================================

  #--------------------------------------------------------------------------

  #

  #--------------------------------------------------------------------------

  def self.sc_save

    save_game(@last_savefile_index)

  end

end

Put that in your script editor and use the script call ^_^
Wow thanks, it never crossed my mind it would be such a simple script, but then again, without having to deal with all that scenemanager segments as well(along with the menu command, aliases, ect), it can't help but be simple lol.
 
Last edited by a moderator:

??????

Diabolical Codemaster
Veteran
Joined
May 11, 2012
Messages
6,513
Reaction score
3,202
First Language
Binary
Primarily Uses
RMMZ
Yea, auto~save / instant~save scripts are easy to write. They require very little coding :)
 
Last edited by a moderator:

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
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.
 
Status
Not open for further replies.

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

How many parameters is 'too many'??
Yay, now back in action Happy Christmas time, coming back!






Back in action to develop the indie game that has been long overdue... Final Fallacy. A game that keeps on giving! The development never ends as the developer thinks to be the smart cookie by coming back and beginning by saying... "Oh bother, this indie game has been long overdue..." How could one resist such? No-one c
So I was playing with filters and this looked interesting...

Versus the normal look...

Kind of gives a very different feel. :LZSexcite:
To whom ever person or persons who re-did the DS/DS+ asset packs for MV (as in, they are all 48x48, and not just x2 the pixel scale) .... THANK-YOU!!!!!!!!! XwwwwX

Forum statistics

Threads
105,853
Messages
1,016,986
Members
137,561
Latest member
visploo100
Top