This must be a common cry for help I'm sorry but i really cannot get my head round it really. I've been spending alot of time browsing through google and wowinterface but any examples i seem to find i'm having trouble understanding how to actually load up the settings that i've saved.
So my TOC file saves MyAddonSettings which is a table
My table is laid out as following
Code:
MyAddonSettings = {
Var1 = true
Var2 = false
Var3 = false
Var4 = false
}
I've setup the addon's OnEvent to trigger for "ADDON_LOADED" which i presume is when my table var will be ready to be read.
This is where i'm stuck, I honestly cannot figure out how to load the settings onto the addon.
Any help regarding this would help me out and thank you in advance.