View Single Post
Old 04/08/08, 2:54 PM   #121 (permalink)
Sethik
Glass Joe
 
Blood Elf Hunter
 
Drak'thul
Originally Posted by Covet View Post
I'm trying this now, I have the LibDogTag-3.0 and LibDogTag-Unit-3.0, but am having issues with the health percentage display. Everything looks perfect if it's a player or NPC target. If it's a player's pet, the HP percent is nudged up against the race.

Player Target


Pet Target (yeah, this is a player SS, but the pet frame does the same thing)
Yeah, I have the same problem. It's a bug with CowTip.

As Contrail/Grey said, if you make sure there's something on the left, it'll fix it. That's why my guild line has [else " "]. You can do the same thing with the other lines if you like, but I was hoping it'd be fixed.

Originally Posted by Covet View Post
Thank you! That makes sense because it was happening with Alliance (non-friendly targets) when their spec wasn't displaying. I ended up switching things up anyway because some of my

One more question... I used the following text in my lines

[Faction or SmartRace]
[if Faction then SmartRace end]
and I love it, but I want to pare it down a bit more. For example, if I'm targeting a player or their pet I only want to know the [SmartRace]. If I'm targeting a non-player (creature, NPC, etc), I want to see the [Faction] and [SmartRace]. Would something like this work?

[if IsPlayerOrPet then SmartRace elseif IsUnit then Faction]
[if Faction then SmartRace end]
This:

[if IsPlayerOrPet then SmartRace else Faction end]
[if not IsPlayerOrPet then SmartRace end]

Last edited by Sethik : 04/08/08 at 3:17 PM.
 
User is offline.
Reply With Quote