I am having a bit of trouble getting a color tag on my target health text.
My whole setup was actually working fine, then i changed my targets heath to also show percentage, now the text color on that part only is showing as white rather than the off white/ grey color I had.
I have tried adding the tag that it had before for color, however, I must be messing something up as it is not working.
This the tag for my "Player frame heath text":
[Status or FractionalHP(known=true):Color("BBBBBB") or PercentHP:Percent:Color("BBBBBB")]
that is the color that I want on this new tag for the "Target frame health text" :
[Status or (FractionalHP:Short ' | ' PercentHP:Percent)]
If someone can sghow me how exactly to add tjhe color tag to the above line for it to work correctly i would be much appreciated.
I have read and read the dog tag wiki..and I cannt get this to work.
I have added the :color("BBBBBB") but to no avail...thanks Smiley
I tried this and the color worked out fine:
[Status or (FractionalHP:Short ' | ' PercentHP:Percent):Color("BBBBBB")]
Looking for some help re-writing some 2.0 dog tags for 3.0(boy am I regretting lazy and not doing this earlier), I'll include what they were to make it easier to know what I'm looking for:
Player Health: Missing HP | Current HP | Max HP | afk/dnd/dead info
If theirs a list with all these lines/commands thats pretty simple to understand(my understanding of code is pretty basic so it'd need to be pretty straightforward :P) a link to that would be helpful too.
Where is the syntax description for libdogtag-3.0?
in pitbull i cannot load the help - getting an error.
I have looked at the libdogtag-3.0 project page (http://www.wowace.com/projects/libdogtag-3-0/), but i didn't find any link to any syntax description. In the wiki there was a seperate page linking which functions are available.
There haven't been Betas or Releases for a long time, but this (and many other things) are fixed in the current Alpha. Get the latest alpha from here: http://www.wowace.com/projects/pit-bull/files/
Is there a list of Dog Tag operators? eg Name, Level, IsMouseOver, etc. And the wiki seems to have gone.
How do I check for Hostility? Tried IsHostile, Hostile and even checking against HostilityColor essentially want a: [(if (?????? = 1) then Level " " Name end)]
I have a question. I am a paladin with a new spell called sacred shield. I wrote a dog tag to put it on my raid bars/party bars and it works except-- sometimes it doesn't update but the main problem is there are two spells called sacred shield the buff that I cast and the buff that procs. I only want to see the buff I cast.
[(if AuraDuration("Sacred Shield") > 9 then
"\194\164 ":Yellow
end) (if AuraDuration("Sacred Shield") < 9 then
"\194\164":Red "%.0f ":Format(AuraDuration("Sacred Shield")):Red
end) (if AuraDuration("Beacon of Light") > 10 then
"! ":Yellow
end) (if AuraDuration("Beacon of Light") < 10 then
"!":Red "%.0f ":Format(AuraDuration("Beacon of Light")):Red
end)]
There is my text. It shows a little round thing in yellow if the buff is good and then it shows the time and a red round thing when it is about to cancel. I have one for beacon of light too and that one doesn't always show the red part. I guess because it isn't updating or something. Anyway, I tried to use spell id but couldn't figure it out. Thanks for any help.
Hello. Prompt please how to solve one problem. If I use here so the text is shown not only from my aura, but also from another's.
How to make so, what my aura would be shown only?
Thankful in advance for the answer.
[(if AuraDuration("Rejuvenation") > 8 then
"o":Green
end) (if AuraDuration("Rejuvenation") > 3 < 8 then
"o":Yellow
end) (if AuraDuration("Rejuvenation") < 3 then
"o":Red
end)]
Hello. Prompt please how to solve one problem. If I use here so the text is shown not only from my aura, but also from another's.
How to make so, what my aura would be shown only?
Thankful in advance for the answer.
Not possible. Lots of people asking for this feature though.
X-Perl has an assist frame, where you are able to see, which people of the raid are targeting your current target too. I would like to do the same with DogTags, the operator is TargetingList BUT the list grows up with no line break. So, for example I like to use CowTip, when I use TargetingList, the tooltip size grows up horizontally up to a huge size.
Is there any solution for using TargetingList with a line break each 4 or 5 Unitnames? I haven't found any documentation for all format parameters, they might help.
[Outline][(if IsEnemy then
Concatenate('(', Level:Angle:DifficultyColor, ShortClassification:DifficultyColor, ') ', Name:ClassColor)
else
Name:ClassColor
end) (if PvP then
'++':Red
end)]
Is what I have for my target:name text, however no matter what I use for the enemy check it either shows the name or no name with no direct correlation as to what the enemy is to me. Should show name and level whenever the unit can be attacked/attack me, any help appreciated.
[Outline][(if IsEnemy then
Concatenate('(', Level:Angle:DifficultyColor, ShortClassification:DifficultyColor, ') ', Name:ClassColor)
else
Name:ClassColor
end) (if PvP then
'++':Red
end)]
Is what I have for my target:name text, however no matter what I use for the enemy check it either shows the name or no name with no direct correlation as to what the enemy is to me. Should show name and level whenever the unit can be attacked/attack me, any help appreciated.
According to the Wiki on dogtags, Concatenate returns nil if one of the items is Nil. In your example ShortClassification is always nil on normal mobs. It might work fine on elite/rare/boss mobs. Also, concatenate isn't really needed.
Try this one instead:
[Outline][(if IsEnemy then ("(" Level:Angle:DifficultyColor ShortClassification:DifficultyColor ")")
else
Name:ClassColor
end) (if PvP then
'++':Red
end)]
I could use a little help with this macro. Everything works great on NPCs with first, middle, last names. If they have two names (first,last) and the first is greater than 11 characters, then it truncates it down to an initial. Unfortunately it isn't working for PCs with names of 12 characters or more. For example, if someone had a toon named 'Longplayername', the macro produces 'Longplayern. Longplayern'.
[outline][if IsPlayer then HP:ClassColor else ~IsPlayer HP:HostileColor:Paren end]
It should display the health in my targetframe in different colors:
If its a player it should use its class color, if its a mob/NPC it should use Hostilecoloring.
When i target players, it works, when i target NPCS/mobs it writes its HP in the correct color but with "Target" in front of it: Target9765
I tried this and the color worked out fine:
[Status or (FractionalHP:Short ' | ' PercentHP:Percent):Color("BBBBBB")]
Thank you..i know what i was doing wrong...i had to change it to0 custom for it to save :) thx again:)
And is tere a guide for these so i could find even a smallest basic things to get started.
Player Health: Missing HP | Current HP | Max HP | afk/dnd/dead info
Player Mana: Max MP | Cur MP | hides current MP if at max mana
ToT/ToTT Name/Health: Guess this was just % hp/dead info | Name/afk info
If theirs a list with all these lines/commands thats pretty simple to understand(my understanding of code is pretty basic so it'd need to be pretty straightforward :P) a link to that would be helpful too.
I was suggested
But that didnt' seem to work either. The first set of code worked perfectly. Thanks in advance.
This is for the mod BunchOfBars.
in pitbull i cannot load the help - getting an error.
I have looked at the libdogtag-3.0 project page (http://www.wowace.com/projects/libdogtag-3-0/), but i didn't find any link to any syntax description. In the wiki there was a seperate page linking which functions are available.
Edit:
It seems the libdogtag-help is broken: http://wow.curse.com/downloads/wow-addons/details/libdogtag-3-0.aspx
The broken lib is in Pitbull 2008/10/16
http://www.wowace.com/projects/pit-bull/files/
Syntax description can still be found in the old wiki:
http://old.wowace.com/wiki/LibDogTag-3.0
How do I check for Hostility? Tried IsHostile, Hostile and even checking against HostilityColor essentially want a: [(if (?????? = 1) then Level " " Name end)]
There is my text. It shows a little round thing in yellow if the buff is good and then it shows the time and a red round thing when it is about to cancel. I have one for beacon of light too and that one doesn't always show the red part. I guess because it isn't updating or something. Anyway, I tried to use spell id but couldn't figure it out. Thanks for any help.
How to make so, what my aura would be shown only?
Thankful in advance for the answer.
Not possible. Lots of people asking for this feature though.
X-Perl has an assist frame, where you are able to see, which people of the raid are targeting your current target too. I would like to do the same with DogTags, the operator is TargetingList BUT the list grows up with no line break. So, for example I like to use CowTip, when I use TargetingList, the tooltip size grows up horizontally up to a huge size.
Is there any solution for using TargetingList with a line break each 4 or 5 Unitnames? I haven't found any documentation for all format parameters, they might help.
Thanks
DMcLeod
According to the Wiki on dogtags, Concatenate returns nil if one of the items is Nil. In your example ShortClassification is always nil on normal mobs. It might work fine on elite/rare/boss mobs. Also, concatenate isn't really needed.
Try this one instead:
[(if (Abbreviate(Name) and Length(Name) > 11) then
Abbreviate(Name):Substring(1, (Length(Abbreviate(Name)) - 1)):Append(". ") Name:Replace(" ", " "):Substring(-15, -1):Replace(" ", ""):Truncate(11, nil)
else
Name:Truncate(11, nil)
end)]
It should display the health in my targetframe in different colors:
If its a player it should use its class color, if its a mob/NPC it should use Hostilecoloring.
When i target players, it works, when i target NPCS/mobs it writes its HP in the correct color but with "Target" in front of it: Target9765
any ideas ?