i've been searching all around without much succes in finding a script that allows a call back on already created profiles in the Ace3.0 database.
What i'm trying to do is to create a initialization script for my ui, that loads all the profiles i created for the ui.
For example, when i log on any of my alts i want to get the correct ButtonFacade, Dominos, DXE, Prat3.0, Satrina Buff Frame, Skada, SLDataText and TidyPlates profiles loaded.
I know that i have to look into the *.lua files of these addons, but have come into a dead end. Where do i need to look to create a "SetProfile("xxxx") callback?
I've found the Pitbull4 callback but that doesnt work if i put in the data found from, for example SLDT.
> /run Pitbull4.db:SetProfile("xxx")
/run Pitbull4.db:Refresh()
So my question is, how can i create the onload scripts to include saved profiles?
Make sure you don't do it before ADDON_LOADED has fired with arg1 being the folder name of the addon in question - savedVars aren't available before that.