or change it to (if you want it only to apply to certain units):
auraFrame = function(unit, frame)
-- just add ' or (unit == "unitName")' to add more units
if (unit == "player") or (unit == "target") then
frame.auraFrame:SetPoint("TOPLEFT", frame, "TOPRIGHT", -3, -5)
frame.auraFrame:SetPoint("TOPLEFT", frame, "BOTTOMLEFT", 5, 0)
frame.auraFrame:SetPoint("TOPRIGHT", frame, "BOTTOMRIGHT", -5, 0)
I would like to replace my mouseover tooltip with a PitBull UF, what attribute do I need to set to make the UF appear where the mouse is? I've tried PitBullUnitFrameN:SetAttribute("headofsrelpoint", "cursor") but it doesn't work
The latest revision (31557) with the Aura options is causing errors for my unitframes.
2007/04/01 17:10:30-353-x1]: PitBull-r31557\Aura\Aura.lua:192: attempt to perform arithmetic on upvalue 'max_auras' (a nil value)
<in C code>: ?
AceEvent-2.0-30806 (Ace2):251: in function `TriggerEvent'
AceEvent-2.0-30806 (Ace2):997: in function <Interface\AddOns\Ace2\AceEvent-2.0\AceEvent-2.0.lua:990>
[2007/04/01 17:10:30-353-x1]: PitBull-r31557\Aura\Aura.lua:192: attempt to perform arithmetic on upvalue 'max_auras' (a nil value)
PitBull-r31557\Aura\Aura.lua:231: in function <Interface\AddOns\PitBull\Aura\Aura.lua:221>
PitBull-r31557\PitBull.lua:53: in function `OnUpdateFrame'
PitBull-r31557\PitBull.lua:1097: in function <Interface\AddOns\PitBull\PitBull.lua:1086>
PitBull-r31557\PitBull.lua:53: in function `UpdateFrame'
PitBull-r31557\PitBull.lua:1257: in function <Interface\AddOns\PitBull\PitBull.lua:1251>
PitBull-r31557\PitBull.lua:53: in function `PopulateUnitFrame'
PitBull-r31557\PitBull.lua:1447: in function <Interface\AddOns\PitBull\PitBull.lua:1441>
PitBull-r31557\PitBull.lua:53: in function <Interface\AddOns\PitBull\PitBull.lua:46>
<in C code>: in function `Show'
Interface\FrameXML\UnitWatch.lua:38: in function <Interface\FrameXML\UnitWatch.lua:20>:
As a result, I know longer have any unitframes appearing.
Hey! These are great unitframes. I have a few suggestions.
- Ability to move Buff/Debuff (again i know....)I just liked the way AG had it to where u could put it inside the frames.
- A way to scale the casting bar? Even more maybe you could have an option to put the casting bar inside the Hp Frame or Mana frame?
- A way to scale the Hp and Mana frames themselves. ex a Small skinny mana frame and a big Hp bar.
I personally like the chunk fade look that some unit frames have (nurfed i think). Just a cosmetic thing though. I like the frames to take up the least amount of space with the same info. As a healer deficit of health is paramount, along with debuffs. Recoloring their health bar etc to show what type of debuff they have owns.