I have reproduced the Label Offset bug and will look for a fix. [Update: found and fixed]
Thanks!
Spell color changes are working as far as I can tell. Can you give me any more details?
Nevermind, it was stupidity on my part ><
I am considering how to deal with the truncating label--maybe only truncate if both label and time text have same offset? [Update: yes this works fine although it makes me want to be able to set the horizontal alignment for time text to either left or right--see what you think after the next version is released]
Yep the changes in the latest version work well for me though, as you mentioned, the ability to set the alignment of the time text is needed too.
I will change insets and offsets range from -200 to +200.
Thank you for the report!
I've started experimenting with conditions and I'm loving the flexibility of the system. Good work!
When the layout is set to having the icon and label on the right, Label Offset seems to be ignored.
Changing bar colour of spells just isn't working for me at all (I have Spell Colours ticked)
Also I want to be able to put both the label and time text at the same end of the bar (one on top of the other) but the Time Text Inset only allows values up to 100 and it truncates the label text anyway. Is there some other way of achieving this or could it be added?
Just discovered this addon yesterday and loving it btw.
Talent stuff is a pain in the butt because your make a request and then an event responds. Everyone sees the event you're not sure if it's your request or some other addons.
I'll probably need to add some talent stuff for this to work reliably. Since you'll need something else to trigger updates when you actually receive the talent info.
Ah makes sense now. I thought I had it working but then I realized that it was actually my tooltip addon that was making it possible. Explains why it only ever updated if I manually moused over the unit or its frame. Nevermind, shall put the code aside til later.
On another topic, what function do I use to find the name of a pet's owner or NPC 'guilds'? GetGuildInfo() only seems to work for actual guilds.
Ugh. I've been trying for hours now to recreate the [TalentTree] dogtag. Each time I think I've got it something messes it up. This is what I have atm:
local dr,dg,db = DifficultyColor(unit)
local cr,cg,cb = ClassColor(unit)
if UnitIsPlayer(unit) then
if CanInspect(unit) then
local current = {}
local tree , _ = 1
for i = 1, 3 do
_, _, current[i] = GetTalentTabInfo(i,true)
if (current[i] > current[tree]) then
tree = i
end
end
current.talent = GetTalentTabInfo(tree,true)
return "|cff%02x%02x%02x%s|r %s |cff%02x%02x%02x%s|r",dr,dg,db,Level(unit) or '', current.talent or '',cr,cg,cb,Class(unit)
else
return "|cff%02x%02x%02x%s|r |cff%02x%02x%02x%s|r",dr,dg,db,Level(unit) or '',cr,cg,cb,Class(unit)
end
end
return "|cff%02x%02x%02x%s|r |cff%02x%02x%02x%s|r %s",dr,dg,db,Classification(unit) or '',dr,dg,db,Level(unit),SmartRace(unit) or ''
Atm this works for targets other than myself. However... it seems to show the spec that the player currently isn't... either that or it's pulling some random numbers from somewhere. Can anyone more experienced in lua see what I'm doing wrong?
I'm wanting one of my texts to update when I or a party/raid member switch specs. Had a search on WoWWiki and found the PLAYER_TALENT_UPDATE event which suggests this is only possible for the player frame. Is it possible to have this added to the events list in LuaTexts? Any other way to easily check talent updates?
Enjoying the new LuaTexts a lot. In fact I'm finding most of my Dogtags easier to rewrite in Lua thanks to being able to use variables. I have one question:
Is there some way to implement wrapping in a textstring? I did an ugly job of this in DogTags by replacing all spaces with \n but I do not know enough about Lua to know whether this can be done. Or is it possible to add this feature to Pitbull itself?
On a related note, I've noticed that while left aligned strings truncate, right aligned strings do not and the text continues outside of the frame it's in. Or at least that's the case on frames that are mirrored horizontally.
Any chance we could get an option to change the width of the portrait? Atm the portrait remains square and scales to the height of the frame and as someone who likes horizontal unitframes that are also fairly tall that means the portrait takes up a lot more width than I'd like.
0
Rogues can now put poison on their thrown weapon, could you add that alongside MH and OH buffs?
Could the test for level also be added to the target category? Or better yet, checks if your target is a boss or elite?
0
Thanks!
Nevermind, it was stupidity on my part ><
Yep the changes in the latest version work well for me though, as you mentioned, the ability to set the alignment of the time text is needed too.
I've started experimenting with conditions and I'm loving the flexibility of the system. Good work!
0
When the layout is set to having the icon and label on the right, Label Offset seems to be ignored.
Changing bar colour of spells just isn't working for me at all (I have Spell Colours ticked)
Also I want to be able to put both the label and time text at the same end of the bar (one on top of the other) but the Time Text Inset only allows values up to 100 and it truncates the label text anyway. Is there some other way of achieving this or could it be added?
Just discovered this addon yesterday and loving it btw.
0
Getting that persistent error whenever Focus, Focus Target, ToT or ToToT are shown. Using the latest version.
0
That should do exactly what you've described.
0
Ah makes sense now. I thought I had it working but then I realized that it was actually my tooltip addon that was making it possible. Explains why it only ever updated if I manually moused over the unit or its frame. Nevermind, shall put the code aside til later.
On another topic, what function do I use to find the name of a pet's owner or NPC 'guilds'? GetGuildInfo() only seems to work for actual guilds.
0
Atm this works for targets other than myself. However... it seems to show the spec that the player currently isn't... either that or it's pulling some random numbers from somewhere. Can anyone more experienced in lua see what I'm doing wrong?
0
0
Is there some way to implement wrapping in a textstring? I did an ugly job of this in DogTags by replacing all spaces with \n but I do not know enough about Lua to know whether this can be done. Or is it possible to add this feature to Pitbull itself?
On a related note, I've noticed that while left aligned strings truncate, right aligned strings do not and the text continues outside of the frame it's in. Or at least that's the case on frames that are mirrored horizontally.
0