View Single Post
Old 04/08/08, 1:58 PM   #120 (permalink)
Covet
Von Kaiser
 
Covet's Avatar
 
Blood Elf Paladin
 
Dethecus
Originally Posted by Gearknight View Post
CowTip does this if there's a tag on the right side but nothing on the left - it fails to allocate height for that line of text. I worked around it in my tags by making sure that something will always display on the left side if there's stuff on the right.
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 just for personal preference.

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]

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