View Single Post
04-06-11, 06:10 PM   #7
Lordyfrb
A Cliff Giant
AddOn Author - Click to view addons
Join Date: Apr 2008
Posts: 71
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.
__________________
  Reply With Quote