Baothebuff
08-22-2007, 07:48 PM
I have a call to a file to save preferences settings such as rollouts rolledUp, parameters, etc..:
fstream = openFile "c:\pref.ini"
and I'm using:
execute fstream
to read in the values. It works fine but in the max sesion but everytime i restart max, it appears as though it can't read the file because the parameters can't initialize. What's going on?
Also, for some reason it works when I'm in the maxscript editor and using ctrl-E but when I use "run script" from the maxscript ultilities panel, it says "unknow property: "open" in undefined"
that's wierd to me. Any help would be greatly appreciated. thanks
fstream = openFile "c:\pref.ini"
and I'm using:
execute fstream
to read in the values. It works fine but in the max sesion but everytime i restart max, it appears as though it can't read the file because the parameters can't initialize. What's going on?
Also, for some reason it works when I'm in the maxscript editor and using ctrl-E but when I use "run script" from the maxscript ultilities panel, it says "unknow property: "open" in undefined"
that's wierd to me. Any help would be greatly appreciated. thanks
