I used to have a dogtag like this on my Pitbulls: [CurHP] | [CurMP]
It only showed the current hp and mp of my target as that's all I need really. Now this dogtag isn't working anymore. Is there a new dogtag that would work like this one?
I have one thing which I cannot seem to get to work like I want with DogTags (in CowTip) in 2.4...
Is there a way to check if health is known and then write something, while writing something else if it is unknown?
I tried using something like FractionHP(known=true), but then only the text itself is hidden if unknown, what I want is to be able to hide more stuff...
what I specifically want is to show [(FractionHP " | " PercentHP:Percent):HPColor] if HP is known and [PercentHP:Percent:HPColor] when unknown, but by using the tag above I get [(" | " (PercentHP:Percent):HPColor] if HP is not known...
I tried using something like "if HP(known=true) = nil" to determine whether HP was known or unknown, but it did not give the desired effect...
I am not experienced with DogTags, so the answer might be simple, I just can't seem to find it... (also the exact name of the tags above might be incorrect, I just tried to remember them from my head now... but it is basically just the possibility to use "HP known" as an if-statement I wonder how to do)
I also have somewhat of a bug in CowTip (guess maybe this is not the correct place to put this, but since DogTag is used in CowTip maybe someone may know this as well):
if I have one statement in the left column and one in the right and one of them returns no text, the whole line's height is too low (the text on the side that has text gets "crammed" between the above and below lines). A specific example is: on the second line I have "Guild rank + Guild" on the left side and "Faction" on the right. On players without guild or NPCs without a value there, the Faction-text on the right side gets a very low lineheight... If I however put something like "or "Faction:"]" or "or Faction:Angled]" at the end of the expression on the left side, the lineheight is correct.
(Also the talent-stuff, experience and zone does not seem to work after 2.4 (don't think zone worked before 2.4 either)... at least I get no text from it... but maybe that is caused by something else than DogTag...)
Sorry that I can't help you with your problem Azulinha.
I got another question myself:
I want to outline my text on Pitbull. e.g. I have this on my name row on Pitbull: [Level] [Name] [(AFKDND):angle] that works like a dream but I want to add outlining for the text. I think you used to be able to do this with simple [outline] tag but I don't have a clue where to put this.
It only showed the current hp and mp of my target as that's all I need really. Now this dogtag isn't working anymore. Is there a new dogtag that would work like this one?
See, even simpler. :)
Is there a way to check if health is known and then write something, while writing something else if it is unknown?
I tried using something like FractionHP(known=true), but then only the text itself is hidden if unknown, what I want is to be able to hide more stuff...
what I specifically want is to show [(FractionHP " | " PercentHP:Percent):HPColor] if HP is known and [PercentHP:Percent:HPColor] when unknown, but by using the tag above I get [(" | " (PercentHP:Percent):HPColor] if HP is not known...
I tried using something like "if HP(known=true) = nil" to determine whether HP was known or unknown, but it did not give the desired effect...
I am not experienced with DogTags, so the answer might be simple, I just can't seem to find it... (also the exact name of the tags above might be incorrect, I just tried to remember them from my head now... but it is basically just the possibility to use "HP known" as an if-statement I wonder how to do)
I also have somewhat of a bug in CowTip (guess maybe this is not the correct place to put this, but since DogTag is used in CowTip maybe someone may know this as well):
if I have one statement in the left column and one in the right and one of them returns no text, the whole line's height is too low (the text on the side that has text gets "crammed" between the above and below lines). A specific example is: on the second line I have "Guild rank + Guild" on the left side and "Faction" on the right. On players without guild or NPCs without a value there, the Faction-text on the right side gets a very low lineheight... If I however put something like "or "Faction:"]" or "or Faction:Angled]" at the end of the expression on the left side, the lineheight is correct.
(Also the talent-stuff, experience and zone does not seem to work after 2.4 (don't think zone worked before 2.4 either)... at least I get no text from it... but maybe that is caused by something else than DogTag...)
Sincerely
Azulinha
I got another question myself:
I want to outline my text on Pitbull. e.g. I have this on my name row on Pitbull: [Level] [Name] [(AFKDND):angle] that works like a dream but I want to add outlining for the text. I think you used to be able to do this with simple [outline] tag but I don't have a clue where to put this.
Thanks in advance.
At work right now so can't test but you probably do not need the = nil part
Try
[if HP(known=true) then (insert tags when known here) else (insert tags when unknown here)]
Let me know how it goes
[(FractionalHP(known=true):Append(" | ") PercentHP:Percent):HPColor]
Pjotr_SWC, the [Outline] tag has not yet been added to 3.0, please be patient.
But i'd like to hide the percent if it equals 100%
How would hide the 100%
[HP] [PercentHP:Hide(100)]
Tried this but got an error... I could have used it incorrectly though... I did however try the following:
and this worked just like I needed... thanx alot for the help...
Sincerely
Azulinha