Thread: kgPanels Help
View Single Post
02-19-10, 02:38 PM   #19
Aerials
A Warpwood Thunder Caller
AddOn Author - Click to view addons
Join Date: May 2009
Posts: 92
Originally Posted by Xhelius View Post
I'm not real good with the event registering....I made a lvl 1 rogue real quick and worked just fine without events. Maybe you could explain it to me?

And on non-stance/class bar characters there is a gray box in the center of the screen.....
for the events, i can't get them to work yet because the event fires and it's trying to change the size of the panel before bartender updates, but also if the bar gets shorter rather than larger (ie: druids changing talents out of resto), bartender doesn't update that at all and it's size doesn't change until the ui is reloaded. but pretty much, to register the event you would put:

self:RegisterEvent("TRAINER_CLOSED")
self:RegisterEvent("PLAYER_TALENT_UPDATE")

in the on load

then copy the rest of the on load to on event (but leave it in on load also)...

how to add a delay, i'm not sure yet.... i'm sure you can have a little timer in there somehow, but i've never used those yet so don't know how yet.

as for the non stance bar characters, i'll check it out i'm guessing the bar isn't hidden, just doesn't have buttons added to it.
  Reply With Quote