Can you give me an example of Auto Save in a script? The best I've managed is to get the save game menu to open but I just want it to save directly with no menu.

  • edited June 2017
    You can save to the current auto save slot like this:
    ORK.SaveGame.Save(SaveGameHandler.AUTOSAVE_INDEX - ORK.Game.AutoSaveSlot);

    CreateInfos is called to update the save game info data when displaying save game menus :)

    You can also use Save Point components for this stuff, e.g. using Autostart to automatically save when entering the scene, or Trigger Enter to set up checkpoints, etc.
    Post edited by gamingislove on
    If you're enjoying my products, free updates and support, please consider supporting me on!
  • Thanks! This will help a lot! I use triggers and save points most of the time but sometimes I make changes in a script that I want to save right away.
Sign In or Register to comment.