Page 1 of 1

saveVars and loadVars from folder

PostPosted: Sun May 13, 2012 3:53 pm
by Fojam
for ome reason when i try to use saveVars or loadVars to load the file or save the file to a folder, it just loads it in the same directory, and not in the folder i want it to.
this is my code:
Code: Select all
saveVars("iSSB_data/temp", temp);

Re: saveVars and loadVars from folder

PostPosted: Sun May 13, 2012 6:08 pm
by skydereign
This is because you don't have access to directories. gE essentially removes any pathname from the string you add to prevent accessing outside the game directory (for security reasons).

Re: saveVars and loadVars from folder

PostPosted: Sun May 13, 2012 7:33 pm
by Fojam
so theres no way for me to put it in its own directory? Because i was able to do it for the loadGame function