Forced Save?
#1
I tried to force a save using
file = File.open(filename, "wb")
write_save_data(file)
file.close
in a call script, but I keep getting a name error in the interpreter for the word filename. How exactly am I supposed to do this without using a full script. I only want it to force a save at the end of a chapter and when using certain items. So I don't really need a full script for this.
Reply }


Messages In This Thread
Forced Save? - by Yin - 04-18-2009, 12:57 AM
[Resolved] Forced Save? - by DerVVulfman - 04-18-2009, 05:21 AM
[Resolved] Forced Save? - by Yin - 04-18-2009, 05:39 AM
[Resolved] Forced Save? - by DerVVulfman - 04-18-2009, 05:48 AM
[Resolved] Forced Save? - by Yin - 04-18-2009, 05:52 AM
[Resolved] Forced Save? - by DerVVulfman - 04-18-2009, 06:06 AM
[Resolved] Forced Save? - by Yin - 04-18-2009, 06:43 AM
[Resolved] Forced Save? - by DerVVulfman - 04-18-2009, 06:57 AM
[Resolved] Forced Save? - by Yin - 04-18-2009, 09:36 AM
[Resolved] Forced Save? - by DerVVulfman - 04-18-2009, 08:41 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
   Map name as save file name Whisper 9 10,142 05-01-2020, 05:35 PM
Last Post: Whisper
   Weird error when using a custom save script. Steel Beast 6Beets 8 11,409 06-27-2015, 05:54 PM
Last Post: Steel Beast 6Beets
   Custom Save/Load screen Raou 2 7,553 04-01-2015, 08:18 PM
Last Post: Raou
   Script Request - Variables Specific Save File JayRay 2 5,106 04-28-2014, 05:15 AM
Last Post: JayRay
   Save Screen Screenshot Yin 2 6,200 07-05-2010, 06:31 PM
Last Post: Yin
   Help With Law's Save System Ryu-ka 0 3,814 04-06-2010, 06:37 PM
Last Post: Ryu-ka
   Need advice on best/easiest save setup rcg916 3 6,231 11-08-2009, 06:24 AM
Last Post: DerVVulfman
   How can I save a map? Charlie Fleed 3 6,693 07-08-2009, 09:55 PM
Last Post: dacloudster
   Load/save cache files DerVVulfman 0 3,721 04-03-2009, 07:39 AM
Last Post: DerVVulfman



Users browsing this thread: 2 Guest(s)