I was curious if anybody knew if a Proc could be saved with the usual Marshal.dump. I was using Zeriab's Scheduler script, and used something like this:
Quote
class Game_System
attr_accessor:schedule
alias zer0_schedule_init initialize
def initialize
zer0_schedule_init
@schedule = Scheduler.new
end
end
I thought this would allow the current framewait to be saved, since it is in Game_System,
but I get an error saying that no marshal_dump is defined for Proc class.
I know that certain objects cannot be written to file, but I was just wondering if this was one of them. The Help File is not very specific on this topic.