Originally Posted by Sarkan-ZdC
I changed the default threat value to: MissingThreat(unit="player") (found this in the online help for DogTags).
Problem 1 is: It shows 0 if I'm not in combat and for all units (NPC Merchants and so on..). Is it possible to hide this if I have 0 Threat against a unit?
Also If I'm the one with max threat on the target, is it possible to replace the 0 with: a green: MAX or so?
|
3 options for you to try:
[HasThreat ? ( MissingThreat = 0 ? "MAX":Green ! MissingThreat )]
[HasThreat ? ( IsUnit('player', Target) ? "MAX":Green ! MissingThreat )]
The first displays MAX when you have the highest threat on the target, regardless of who's tanking it. The 2nd displays MAX when you're tanking the target, even if someone has surpassed you in threat (within their 10% or 30% window). You can combine these two methods to something like this third option:
[HasThreat ? ( IsUnit('player', Target) ? (MissingThreat = 0 ? "MAX":Green ! MissingThreat:Yellow) ! (MissingThreat = 0 ? "MAX" ! MissingThreat):Red )]
This is exactly like the first option above, but colored red when you've lost aggro. A yellow number means someone has passed you in aggro, but not yet pulled aggro - so it's a warning sign to step up your threat on that mob.