WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   AddOn Help/Support (https://www.wowinterface.com/forums/forumdisplay.php?f=3)
-   -   Stuf Cast Bar Token Names (https://www.wowinterface.com/forums/showthread.php?t=39520)

tenub 04-04-11 11:32 PM

Stuf Cast Bar Token Names
 
I know for ACB it's "AzCastBarPlugin[Unit]". What is it for Stuf? I want to use his cast bars!

Taryble 04-05-11 08:23 AM

type /fstack and mouseover the frame to find out. type /fstack to turn off the framestack tooltip off. :)

tenub 04-05-11 10:31 AM

I'm pretty knowledgeable when it comes to this stuff, so I wouldn't post this thread if I hadn't already done everything I could to figure it out myself, /framestack included. Thanks for trying to help though. =)

Kendian 04-05-11 01:16 PM

If I understand your question, you want the frame name of Stufs cast bar, ya? Well, if you figure it our, lemme know, lol. I 'd love to have a kgpanel attached to it, but nothing to attach to, that I can find~

nin 04-05-11 01:36 PM

Longshot, but give this frame a go. i don't use stuf myself so can't test it.

Code:

f.barbase
-_-V

tenub 04-06-11 04:13 PM

Tried that and no good. :(

Lordyfrb 04-06-11 06:10 PM

Hi Just did some quick simple testing, and unfortunately stuf does not name its cast bars(or any element of the UF) in a way that can be used to anchor anything to it in game.

The way I tested it was to add this line
Code:

print(f," - ",name)
10 lines after this line of code, in bars.lua
Code:

Stuf:AddBuilder("castbar", function(unit, uf, name, db, a5, config)
What this did was print the Frame name, actual name to my chat frame.

And the out come was similar to this:
Code:

table: 1AE3AB50 - castbar
Thus proving that stuf doesn't name any of it unit frame elements apart from the base frame.

now I'm looking into a way of changing this, as I'd like the ability of anchoring/parenting stuff to different parts of the UF's in stuf.

If you could tell me what it is you're wanting to do, I could look into find out how to do it.

tenub 04-06-11 07:17 PM

I'm just trying to attach a background kgpanel to all cast bars. It would be nice if I could have different cast bar sizes, ie. to match the width of each of my differently sized unit frames.

Edit: it would also be nice to be able to set a background image to each raid frame without having to anchor a maximum of 40 different kgpanels.


All times are GMT -6. The time now is 07:46 PM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI