I'm using [Level:DifficultyColor] on one of my lines for the level, but when I mousover a ?? enemy, it appears gray. Is there anyway I can force Cowtip to show ?? as red? I took a look at dogtag, but I coudln't figure it out since the value of ?? is relative to my level.
I'm using [Level:DifficultyColor] on one of my lines for the level, but when I mousover a ?? enemy, it appears gray. Is there anyway I can force Cowtip to show ?? as red? I took a look at dogtag, but I coudln't figure it out since the value of ?? is relative to my level.
Maybe something like this will working
[IsMaxLevel?Level:Red!Level:DifficultyColor]
i recieved this error today, no clue where it comes from
[2007/08/07 18:54:07-3019-x3]: DogTag-1.0.45814: Error with code "[IsPlayer?PvPRank:ClassColor:Append( )][IsPlayer?NameRealm:ClassColor!NameRealm:HostileColor] [PvP:Angle:HostileColor] [AFKDND:Angle:HostileColor]" on "mouseover". [string "local DogTag = AceLibrary("DogTag-1.0");loc..."]:6: attempt to index local 'pvpname' (a nil value)
I'm using [Level:DifficultyColor] on one of my lines for the level, but when I mousover a ?? enemy, it appears gray. Is there anyway I can force Cowtip to show ?? as red? I took a look at dogtag, but I coudln't figure it out since the value of ?? is relative to my level.
Maybe something like this will working
[IsMaxLevel?Level:Red!Level:DifficultyColor]
I'm trying to make the [Classification] tag show as yellow if elite or rare-elite, gray if rare, and some other color if "boss", but I'm not good with dogtag, so I'm not totally sure how to do it. I came up with:
but I'm not sure if that's right. The dogtag page said that : was "or", but since it's also used for modifiers I don't know if it would get confused. Would that line work?
@LifeEnemy: You might need additional brackets around the IsEqual() check; also you need to separate your else statements with "!". I also don't think the ":" for OR will work inside the IsEqual() modifier (at least it doesn't for me). Here's what I came up with, see if that does what you want:
ok, here's the trick, i would like to have a TargetingList with all those targeting colored with their class color.
I've tried something like [TargetingList:ClassColor] but with this, they're all with the color of the target they are targeting, and not their own color :)
Anyone knows if what i'm asking is possible ?
Oh and, another question i had in mind, is it possible to center a line ?
Phillips, that line worked great. Thanks. For some reason I though you would only be able to have one "else", so I tried using "or" instead. You can tell I'm not a programmer :P
On another note, I've noticed that CowTip doesn't show info on the tooltip from "MobHealth", yet it would show the info from "MobInfo2", which I just recently changed from.
ok, here's the trick, i would like to have a TargetingList with all those targeting colored with their class color.
I've tried something like [TargetingList:ClassColor] but with this, they're all with the color of the target they are targeting, and not their own color :)
Anyone knows if what i'm asking is possible ?
This can be done (the centering thing, I don't think can, though you could try and simulate it using whitespace perhaps?). Try this (untested!):
Basically, you build your own TargetingList by going through the party, seeing if they're in DogTag's TargetingList, and displaying it with the class color. This will only have spaces between the names, not commas like the original. It'd be possible to add those too, but painful due to all the checking required.
As an aside, here's the "Target of" line I use (you'll notice I don't care about party class coloring, but I *do* care if my pet is targeting. I also don't want to see anything unless I'm in a group or have a pet). It could probably be improved, but works for me...
Left side:
[InGroup?[~IsUnit(pettarget)?NumTargeting:HideZero:Prepend(Target of ):Append(:):Gray!Text([HappyText?NumTargeting:Add(1):HappyColor!NumTargeting:Add(1):ClassColor#player]):Prepend(Target of ):Append(:):Gray]!IsUnit(pettarget)?Text([HappyText?NumTargeting:Add(1):HappyColor!NumTargeting:Add(1):ClassColor#player]):Prepend(Target of ):Append(:):Gray]
Ok, I reinstalled MobHealth but it still won't show up in the tooltips. I know it's working though because I can see their HP when I target the mobs.
Also, had been having trouble with the tooltip background not showing up on some characters. I deleted the lua file and redid cowtip and found out that the background disappeared when I set the position on the cursor to the bottom, bottom-left, or bottom-right. Not sure why it does this, thought the author would want to know. (I also checked for addons conflicts already, not so). I attached a picture of what I mean.
The first line is in the left column, others are in the right one
maybe try
Maybe something like this will working
[IsMaxLevel?Level:Red!Level:DifficultyColor]
[2007/08/07 18:54:07-3019-x3]: DogTag-1.0.45814: Error with code "[IsPlayer?PvPRank:ClassColor:Append( )][IsPlayer?NameRealm:ClassColor!NameRealm:HostileColor] [PvP:Angle:HostileColor] [AFKDND:Angle:HostileColor]" on "mouseover". [string "local DogTag = AceLibrary("DogTag-1.0");loc..."]:6: attempt to index local 'pvpname' (a nil value)
Try [Level:IsEqual(??)?Level:Red!Level:DifficultyColor]
[Classification:IsEqual(Elite:Rare-Elite)?Classification:Yellow:IsEqual(Rare)?Classification:Gray:IsEqual(Boss)?Classification:Fuchsia]
but I'm not sure if that's right. The dogtag page said that : was "or", but since it's also used for modifiers I don't know if it would get confused. Would that line work?
I move the yellow box, then double click, but it doesn't save.
is there a way to fix this ?
I experienced the same problem within the last few days. :-\
Yesterday it worked again for half an hour or so, but then it stopped working again...
I've tried something like [TargetingList:ClassColor] but with this, they're all with the color of the target they are targeting, and not their own color :)
Anyone knows if what i'm asking is possible ?
Oh and, another question i had in mind, is it possible to center a line ?
On another note, I've noticed that CowTip doesn't show info on the tooltip from "MobHealth", yet it would show the info from "MobInfo2", which I just recently changed from.
Full german localization attached.
Maybe you wanna add it...
This can be done (the centering thing, I don't think can, though you could try and simulate it using whitespace perhaps?). Try this (untested!):
Basically, you build your own TargetingList by going through the party, seeing if they're in DogTag's TargetingList, and displaying it with the class color. This will only have spaces between the names, not commas like the original. It'd be possible to add those too, but painful due to all the checking required.
As an aside, here's the "Target of" line I use (you'll notice I don't care about party class coloring, but I *do* care if my pet is targeting. I also don't want to see anything unless I'm in a group or have a pet). It could probably be improved, but works for me...
Left side:
Right side:
Also, had been having trouble with the tooltip background not showing up on some characters. I deleted the lua file and redid cowtip and found out that the background disappeared when I set the position on the cursor to the bottom, bottom-left, or bottom-right. Not sure why it does this, thought the author would want to know. (I also checked for addons conflicts already, not so). I attached a picture of what I mean.