Originally Posted by Gearknight
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]