Psycowtic
13-06-2007, 05:41 PM
Hey guys,
Right now with Honorgrind 2.0 all the stats are saved in the saved variables file, which is great, but because that file isn't created until after I quit or reload I'm getting some nil value errors. Is there any way to test if the saved variables exist or not and if they don't initialize some local values until they are created?
I'm not sure if I explained that right but I hope someone understands through some sort of miracle :)
Edit:
BTW the nil value errors only occur the very first session because after that the file is created. What's weird is that even with a fresh install of the mod, it runs perfectly on my main toon.
Right now with Honorgrind 2.0 all the stats are saved in the saved variables file, which is great, but because that file isn't created until after I quit or reload I'm getting some nil value errors. Is there any way to test if the saved variables exist or not and if they don't initialize some local values until they are created?
I'm not sure if I explained that right but I hope someone understands through some sort of miracle :)
Edit:
BTW the nil value errors only occur the very first session because after that the file is created. What's weird is that even with a fresh install of the mod, it runs perfectly on my main toon.