The RPG Maker Resource Kit

Other Game Creation => Program Troubleshooting => Topic started by: zubin73 on August 16, 2010, 02:46:42 PM

Title: Manually loading save file via events
Post by: zubin73 on August 16, 2010, 02:46:42 PM
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?