Main Menu
  • Welcome to The RPG Maker Resource Kit.

Manually loading save file via events

Started by zubin73, August 16, 2010, 02:46:42 PM

0 Members and 1 Guest are viewing this topic.

zubin73

I want to load the autosave of the game through an event trigger. The autosave is always saved on the first slot of the save files. I'm using bulletX/woratana's autosave + Neo save system 3 script. I used this script call to load the autosave file, but it throws an errors every time.
file = File.open("Saveslot1.rvdata")
    read_save_data(file)
    file.close
    $scene = Scene_Map.new




Can anyone please tell me what would be the correct code to load the autosave manually?
"A thing of beauty is a joy forever" - Keats