Can I access SavedVariables of other addon
View Single Post
01/20/18, 05:42 AM
Join Date: Oct 2014
Originally Posted by
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
. 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.
@votan73 (EU - megaserver)
View Public Profile
Send a private message to votan
Find More Posts by votan