Originally Posted by Haaxor1689
Thanks for the reply. I only need to read those values and I already have those addons in `## DependsOn:`. I'm still getting null tho, how exactly should I load those values? Do I need to have the files I want to load in `## SavedVariables:`? Do I simply load them with `ZO_SavedVars:New`?
This is my almost first attempt at creating addon for eso and since the documentation is pretty lacking I'm not sure why it isn't working.
|
You can have a look at
http://www.esoui.com/downloads/info9...eTooltips.html. There I read the values from QuickEnchanter, if present.
Basically, due to DependsOn, the AddonLoaded callback is called for the other addon first. So once the addonName is the name of the other addon, you can use the SavedVar as if it would be yours.
You just have to use the same ZO_SavedVars method as the other addon, just without any defaults.