Unique Save on Exit / When quitting via the X in windows?

● ARCHIVED · READ-ONLY
Started by Mireneye 3 posts View original ↗
  1. Is it possible to:
    A, Make a unique save (to special file) basically a record of the last time you played and just had to quit out due to things in life? This would have to be seperate because in my game I'm using save file locations as basically respawn points. 

    B, Make it work both when using the Exit command from menu and when you hit the X in uppermost right of the screen to close the game?

    If so, I would love if someone could help me out! Credit where credit is due.

    Thank you,
    Mireneye

    EDIT: I know I could use the Scenemanager to call up the save screen on Exit from Menu, this doesn't really help because people could mess up and save over normal saves. It needs to be a unique file.
  2. As far as I know this cannot be done when using the "x" to exit the program unless you rewrite the rm's coding.

    When exiting via exit command can be done though. I dont really have the time to write it but it is pretty simple. If you take a look at how the save is actually done in the save scene you might be able to figure it out.
  3. Maybe one 'could' start a partner application when running RPGM that checks if it's shutting down abnormally. But eeh, that's a bit convoluted. 
    yeah I'll check it out. I've already looked at it, the only thing I'm not sure is how I'd write to a specific save, otherwise I think I have the right commands avaliable. 

    Thanks mate!