View Single Post
05-03-22, 10:34 AM   #6
Fizzlemizz
I did that?
 
Fizzlemizz's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Dec 2011
Posts: 1,879
Yeah, dependancies won't work if you're talking about making your addon a dependacy of someone elses.

Probably need to see if there some way to re-initialise SUF after you've done your changes.

If SUF uses Ace and assuming you are using your own profile to confiugure it then maybe something like:

Code:
-- Do your changes then:
local Shadowed = NS.AceAddons:GetAddon("Shadowed whatever", true)
Shadowed.db:SetProfile("Whatever your profile name is")
I don 't know Shadowed so .db tends to be the convention but may be solmething else.
__________________
Fizzlemizz
Maintainer of Discord Unit Frames and Discord Art.
Author of FauxMazzle, FauxMazzleHUD and Move Pad Plus.
  Reply With Quote