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.

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

    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
  • 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.