PitBull Unit Frames 4.0
PitBull Unit Frames 4.0
Woof. Arf. Yip.
Getting Started:
You can help translate PitBull for your language with the localization tool.
Classic
PitBull works with WoW Classic! Classic Era/Vanilla is supported in
v4.3.x-vanilla releases. Other Classic versions are supported in v4.2.x releases
(the same releases retail use).
Download
CurseForge: https://www.curseforge.com/wow/addons/pitbull-unit-frames-4-0
Wago: https://addons.wago.io/addons/pitbull4
WoWInterface: https://www.wowinterface.com/downloads/info20021
-
View User Profile
-
Send Message
Posted Apr 8, 2010@jtburke, not entirely sure what you're asking but if you're asking if you can create say multiple target frames, not yet. I hit a snag and things have been delayed a bit. Plus I've been busy with some other things lately. Sorry.
@Loom927, I just checked the code it works fine here. I believe you have a typo in your copy. Note that the case matters.
-
View User Profile
-
Send Message
Posted Apr 8, 2010-
View User Profile
-
Send Message
Posted Apr 8, 2010-
View User Profile
-
Send Message
Posted Apr 8, 2010local dr,dg,db = DifficultyColor(unit)
local form = DruidForm(unit)
local classification = Classification(unit)
local race = SmartRace(unit)
if UnitIsPlayer(unit) or (not UnitIsFriend(unit,"player") and not IsPet(unit)) then
local cr,cg,cb = ClassColor(unit)
if form then
return "%s%s|cff%02x%02x%02x%s|r %s%s|cff%02x%02x%02x%s|r (%s)",classification or '',classification and ' ' or '',dr,dg,db,Level(unit),race or '',race and ' ',cr,cg,cb,Class(unit),form
else
return "%s%s|cff%02x%02x%02x%s|r %s%s|cff%02x%02x%02x%s|r",classification or '',classification and ' ' or '',dr,dg,db,Level(unit),race or '',race and ' ',cr,cg,cb,Class(unit) end
else
if form then
return "%s%s|cff%02x%02x%02x%s|r (%s) %s",classification or '',classification and ' ' or '',dr,dg,db,Level(unit),form,race or ''
else
return "%s%s|cff%02x%02x%02x%s|r %s",classification or '',classification and ' ' or '',dr,dg,db,Level(unit),race or ''
end
end
-
View User Profile
-
Send Message
Posted Apr 8, 2010-
View User Profile
-
Send Message
Posted Apr 7, 2010thanks for the reply Shefki, worked a treat. now i love pitbull4, lol
-
View User Profile
-
Send Message
Posted Apr 7, 2010Its driving me nuts, my target has no texts and each time i swap targets the screen Jolts and freezes for 1 second still with no text.
-
View User Profile
-
Send Message
Posted Apr 7, 2010-
View User Profile
-
Send Message
Posted Apr 7, 2010So it'll look like so:
local r,g,b = ClassColor(unit)
return '|cff%02x%02x%02x%s|r',r,g,b,Name(unit)
-
View User Profile
-
Send Message
Posted Apr 7, 2010http://www.wowace.com/addons/pitbull4/tickets/406-right-aligned-text-strings-to-not-truncate/
Ultimately, this issue has to do with the limitations of the wow anchoring system and how we're using it. Fixing it would likely negatively impact far more people than leaving this quirk in.
-
View User Profile
-
Send Message
Posted Apr 7, 2010-
View User Profile
-
Send Message
Posted Apr 7, 2010Is there a way to remove the AFK timer that appears next to a players name? The code is currently set for Class coloured names: "local r,g,b = ClassColor(unit)
return '|cff%02x%02x%02x%s|r %s%s%s',r,g,b,Name(unit),Angle(AFK(unit) or DND(unit))"
I tried removing the (unit)'s behind both AFK and DND but I get an error. Tried removing the whole AFK and DND also don;t work.
Any sugestions?
Thanks.
-
View User Profile
-
Send Message
Posted Apr 7, 2010-
View User Profile
-
Send Message
Posted Apr 7, 2010-
View User Profile
-
Send Message
Posted Apr 8, 2010string.sub(string, 1, n)
Where string is the text you want to clip, 1 is the first character you want, and n is the last character you want.
So say you wanted to shorten a name to 10 characters you could do:
string.sub(Name(unit),1,10)
-
View User Profile
-
Send Message
Posted Apr 7, 2010For now, you probably want to configure the debuffs to be on one half of the side of the frame and the buffs to be on the other. So you might put the debuffs on the top left and the buffs on the top right and then set their width to be half of the width of the frame (or slightly less if you want to leave a gap).
-
View User Profile
-
Send Message
Posted Apr 7, 2010-
View User Profile
-
Send Message
Posted Apr 7, 2010Hi Shefki, thanks for the reply. I've tried implementing this but it just comes up with syntax error, is there anything i need to modify, or do for it to work? Apologies for being stupid, and thanks again for the help.
-
View User Profile
-
Send Message
Posted Apr 7, 2010Has the ability to create secure singleton unit frames been added yet?
If so, could you please give me some information on how to create one.
-
View User Profile
-
Send Message
Posted Apr 7, 2010