Elitist Jerks
Register
Blogs
Forums


Go Back   Elitist Jerks » Public Discussion » User Interface and AddOns

Reply
 
LinkBack Thread Tools
Old 05/24/08, 9:46 AM   #271
sanny
Glass Joe
 
sanny's Avatar
 
Gnome Mage
 
Aggramar (EU)
Originally Posted by Evilnes View Post
[IsPlayer ? Name:ClassColor ! Name:HostileColor]
It's working perfectly! Thanks a lot!

Offline
Reply With Quote
Old 05/25/08, 6:04 PM   #272
Gearknight
Piston Honda
 
Dwarf Hunter
 
Kul Tiras
Originally Posted by Aximous View Post
Is there any way to add an empty line in cowtip on the left side and display a tag on the other side? If I leave it empty it just shows the tag in a "half" line. Tried adding a " " but it just doen't get displayed.
Try putting:

[Alpha(0) "..."]

in the left column. That should make some invisible text.

Offline
Reply With Quote
Old 05/25/08, 6:50 PM   #273
Crytz
Glass Joe
 
Orc Warrior
 
Illidan
I'm trying to use the Dogtag feature of StatBlocks to display my ranged attack speed (in a format like "Speed: 2.61") but only when in combat. The normal RangedStats feature can show the speed like this, but I can't seem to figure out how to make it only show it in combat.

Is there a dogtag code for ranged attack speed? If so I can't seem to figure it out.

Thanks.

Offline
Reply With Quote
Old 05/25/08, 7:24 PM   #274
Gearknight
Piston Honda
 
Dwarf Hunter
 
Kul Tiras
Originally Posted by Crytz View Post
Is there a dogtag code for ranged attack speed? If so I can't seem to figure it out.

Thanks.
There are no dogtags for character stats. I often wish there were, and it's probably possible to write a module that does it, but it hasn't been done.

Offline
Reply With Quote
Old 05/26/08, 5:58 AM   #275
Sarkan-ZdC
Von Kaiser
 
Human Paladin
 
Zirkel des Cenarius (EU)
Hey,

I'm quite new to the Dog Tag Feature. I use CowTip for some time. As a Paladin Tank I like the threat feature for Mouse Over Enemy Units. In AoE Situation this is helpful.

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?

The Threat Page in the wikki is not that helpful unfortunatly

Thanks!

Offline
Reply With Quote
Old 05/26/08, 10:54 AM   #276
Kuthumii
Von Kaiser
 
Blood Elf Paladin
 
Thrall
I use Pitbull. I use the standard tag for my HP and mana. I want to make a custom one that uses the same I use now ( xxxx/xxxx for both mana and hp, no %) but hide it when it is 100%.

I am assuming I can just copy the current tag and add :hide(MaxHp) to the end of it for my hp? What is the code for the mana one?


I also have my target and ToT UF set to hide the power bar if they are not mana users. I dislike the way the name, which I have set to left edge middle iirc (displays middle of the frame left side), shows. If it is long it sometimes runs into the HP of a non mana user. Is there a way to make it so that the name is set to say 10-20 characters?

Offline
Reply With Quote
Old 05/26/08, 11:42 AM   #277
Gearknight
Piston Honda
 
Dwarf Hunter
 
Kul Tiras
Originally Posted by Sarkan-ZdC View Post
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.

Last edited by Gearknight : 05/27/08 at 11:14 AM.

Offline
Reply With Quote
Old 05/27/08, 12:07 AM   #278
Eph
Don Flamenco
 
Eph's Avatar
 
Human Paladin
 
Kil'Jaeden
Originally Posted by Kuthumii View Post
I also have my target and ToT UF set to hide the power bar if they are not mana users. I dislike the way the name, which I have set to left edge middle iirc (displays middle of the frame left side), shows. If it is long it sometimes runs into the HP of a non mana user. Is there a way to make it so that the name is set to say 10-20 characters?
:Truncate(20, nil)

United States Offline
Reply With Quote
Old 05/27/08, 9:18 AM   #279
Gearknight
Piston Honda
 
Dwarf Hunter
 
Kul Tiras
Originally Posted by Kuthumii View Post
I also have my target and ToT UF set to hide the power bar if they are not mana users. I dislike the way the name, which I have set to left edge middle iirc (displays middle of the frame left side), shows. If it is long it sometimes runs into the HP of a non mana user. Is there a way to make it so that the name is set to say 10-20 characters?
Originally Posted by Eph View Post
:Truncate(20, nil)
That's one way, but a better looking way is often to put a text on the right edge of the frame, and set its style to "hide." That cuts off the too-long name at however many characters fit, rather than a fixed number of characters.

Offline
Reply With Quote
Old 05/27/08, 11:11 AM   #280
Sarkan-ZdC
Von Kaiser
 
Human Paladin
 
Zirkel des Cenarius (EU)
Originally Posted by Gearknight View Post
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":Green ! 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.
Thank you very very much. The 3rd option sounds incredible. I'm going to try that out.

If that works, I'm going to ban the Omen2 window from my screen, don't need it anymore (as a tank you're usually doing all you can anyhow, but for AoE Situations this will help a TON with switching fokus..) *g*

Offline
Reply With Quote
Old 05/28/08, 8:30 AM   #281
Led ++
Piston Honda
 
Led ++'s Avatar
 
Undead Death Knight
 
Draenor (EU)
Originally Posted by Eph View Post
:Truncate(20, nil)
Why the , nil?

http://thepiratebootybay.com/ THE best Addon site out there!

Offline
Reply With Quote
Old 05/28/08, 10:09 AM   #282
Borona
Von Kaiser
 
Dwarf Warrior
 
Blackrock (EU)
It basicly deletes the "..." e.g.

"Borona":Truncate(3) = Bor...
"Borona":Truncate(3, nil) = Bor

Offline
Reply With Quote
Old 05/28/08, 2:45 PM   #283
Alleyne
Glass Joe
 
Draenei Shaman
 
Darkspear (EU)
I'm just wondering how ya can make

[Status or (if IsFriend then
MissingHP:Hide(0):Short:Color('ff7f7f')
else
FractionalHP(known=true):Short or PercentHP:Percent
end)]

and

[IsMana & [Status or (if IsFriend then
MissingMP:Hide(0):Short:Cyan
else
FractionalMP(known=true):Short or PercentMP:Percent
end)]]

To show what percent mana or health they are at after they actually lose mana or health

Thanks for any help

Offline
Reply With Quote
Old 05/28/08, 9:08 PM   #284
Dietrich
Glass Joe
 
Dwarf Death Knight
 
Dragonmaw
I'm getting a syntax error on the crowd control tag. I simply cut and pasted it into a custom field for the target, and as soon as they get feared it errors out. Is anyone else having an issue?

Offline
Reply With Quote
Old 05/29/08, 7:32 AM   #285
Led ++
Piston Honda
 
Led ++'s Avatar
 
Undead Death Knight
 
Draenor (EU)
Originally Posted by Borona View Post
It basicly deletes the "..." e.g.

"Borona":Truncate(3) = Bor...
"Borona":Truncate(3, nil) = Bor
Ah thanks for pointing out, didnt know that.

http://thepiratebootybay.com/ THE best Addon site out there!

Offline
Reply With Quote
Reply

Go Back   Elitist Jerks » Public Discussion » User Interface and AddOns

Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
[DogTags] - Share yours! Fulnir User Interface and AddOns 164 03/30/08 1:30 AM