Page 1 of 1

trying to understand save and load vars

PostPosted: Fri Apr 01, 2011 3:55 am
by 157pl
im trying to understand exactly how save and load vars works
does it just look in the same folder the exe is in and if it cant find it it makes one

Re: trying to understand save and load vars

PostPosted: Fri Apr 01, 2011 4:00 am
by skydereign
saveVars will write the save file, and load will read it. So if there is a file already there, saveVars overwrites it. If there isn't a file, loadVars won't be able to load anything, so the variables in the save group will remain unchanged. loadVars will not create a file.

Re: trying to understand save and load vars

PostPosted: Sat Apr 02, 2011 4:29 pm
by 157pl
but it creates and loads a file from the same folder that the exe is in right

Re: trying to understand save and load vars

PostPosted: Sat Apr 02, 2011 4:44 pm
by schnellboot
yes

Re: trying to understand save and load vars

PostPosted: Sun Apr 03, 2011 6:33 pm
by 157pl
k thanks
i like to understand things :D