WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   Classic - AddOn Help/Support (https://www.wowinterface.com/forums/forumdisplay.php?f=179)
-   -   Help with simple Pet XP bar addon (https://www.wowinterface.com/forums/showthread.php?t=57767)

bsmorgan 01-10-20 08:55 AM

Help with simple Pet XP bar addon
 
1 Attachment(s)
I found this old addon for a very simple Pet XP bar, modified it for Classic, and everything works except the actual variable length bar that shows the XP progress.

I have attached the addon. It is the PetExpBar defined on lines 82-94 and updated by the function at lines 112-116 that doesn't work (I've examined the frame and the width is being updated, but nothing shows on the screen).

I'm sure it's something stupid. Could someone point me in the right direction, please?

bsmorgan 01-12-20 10:02 AM

1 Attachment(s)
I solved it myself. I've attached a working version if anyone is interested.


All times are GMT -6. The time now is 10:32 PM.

vBulletin © 2020, Jelsoft Enterprises Ltd
© 2004 - 2020 MMOUI