On Tue, Apr 24, 2012 at 12:50:12PM -0700, Adam Perry wrote: > >> I think one or both of import globals and export globals is busted. I > >> was working with essentially the following script: > >> > >> script, myscript, begin > >> > >> if (import globals(1, 1) == 0) then ( > >> write global(1, 1) > >> do other stuff > >> export globals(1) > >> ) else ( > >> import globals(1) > >> ) > >> > >> end > >> > >> I expected that the game would initialize on the first run, and would > >> thereafter load in the save data. However, this never happened. The > >> conditional isn't the problem; I tried other things like save slot > >> used and it gave me the same effect. > >> > >> I ended up using save in slot and load from slot to do essentially the > >> same thing, so I'm not waiting on this or anything, but I'm pretty > >> sure it's not working right. > > > > After a single run of this script, with no gamename.saves folder in > > existance, is gamename.saves/1.rsav created ? If so, can you send me a > > copy of it? > > No - I did get a 0.rsav, but I have since deleted it.
Oh, my mistake. importglobals numbers slots from 1 to 32, but the save slots are numbered 0 to 31 internally. --- James _______________________________________________ Ohrrpgce mailing list [email protected] http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org
