Elitist Jerks
Register
Blogs
Forums


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

Reply
 
LinkBack Thread Tools
Old 04/24/08, 8:43 PM   #181
 Adoriele
Happy October 19th!
 
Adoriele's Avatar
 
Night Elf Druid
 
Dragonblight
Originally Posted by Pagarth View Post
How do you get the colors for your dots? I am trying to make dots on my Pitbull raid frames similar to Grid. I want a blue dot if the player is low on mana, dark green dot if the player has regrowth, lighter green dot for rejuv, and lightest green dot for lifebloom. I only want my auras to work though. From what I've gathered, I need to use this code:
[if((HasAura("Regrowth")) and (AuraDuration("Regrowth"))) then
   ".":DarkGreen
end]
for the auras right?

Also, how do you delete texts you don't want? Is it in the WTF file?
That should work, except DarkGreen is probably not a valid tag, but you get the idea. And no, no need to delete them from the WTF, just select them and un-check 'enable' in their options screen.

United States Online
Reply With Quote
Old 04/24/08, 9:11 PM   #182
Pagarth
Von Kaiser
 
Orc Warlock
 
Mal'Ganis
I would like to delete them from even being shown to enable. I guess that is WTF. I couldn't find the options in Pitbull.

Offline
Reply With Quote
Old 04/24/08, 9:39 PM   #183
Pagarth
Von Kaiser
 
Orc Warlock
 
Mal'Ganis
Whats the tag to check if a player has less than 20% mana for my grid idea?

Offline
Reply With Quote
Old 04/25/08, 8:34 AM   #184
Lorienne
...
 
Lorienne's Avatar
 
Vaikhan
Blood Elf Paladin
 
No WoW Account
Originally Posted by Pagarth View Post
Whats the tag to check if a player has less than 20% mana for my grid idea?
I think you'll do something like:

[if PercentMP < 20 then ".":Color("00F5FF")
end]
Color chosen randomly from the Turquoise section of this list of colors. You can use whatever colors you want with the above Color("") tag, just find the one you like on that page (or any other valid Hex color code) and use the Hex number in the fourth column (minus the #).

United States Offline
Reply With Quote
Old 04/25/08, 12:24 PM   #185
Pagarth
Von Kaiser
 
Orc Warlock
 
Mal'Ganis
Thank you guys for your help!

Offline
Reply With Quote
Old 04/25/08, 2:38 PM   #186
Covet
Von Kaiser
 
Covet's Avatar
 
Blood Elf Paladin
 
Dethecus
I'm considering changing up my UFs again (joy!) and am thinking I want my Target's health to be displayed like this...

If the MaxHP is known (player, pet, boss, ???)
HP | MaxHP

If the MaxHP is unknown (enemy player, ???)
Percent (hide if full)

Is it possible to write a DogTag to show this? It's a bit beyond my realm of knowledge.

Edit: Went to the first page and found this (and here I thought I had read this thread so much it was almost memorized!):
[if IsPlayer then
    [HP:color("00ff00") (Status or (-MissingHP):Hide(0)):color("ff0000")]
else
    [PercentHP:Percent:color("00ff00") (Status or (-MissingHP):Hide(0)):color("ff0000")]
end]
But what I'm asking for, what differs from the DogTag above, is if it's a boss or something where the HP is known and not held exclusively to a player or pet.

Last edited by Covet : 04/25/08 at 6:10 PM.

Offline
Reply With Quote
Old 04/25/08, 4:34 PM   #187
Bridonna
Von Kaiser
 
Blood Elf Priest
 
Turalyon
Anyone know how to make a new line inside a tag?

I'm trying to switch to vertical party/raid frames and I'm using dogtags to show Hots (the dots that have been discussed here a lot) but I'm trying to get them to go down the frame, not across.


Last edited by Bridonna : 04/25/08 at 4:50 PM.

Offline
Reply With Quote
Old 04/25/08, 6:34 PM   #188
Tinava
Piston Honda
 
Tinava's Avatar
 
Human Warlock
 
Scarlet Crusade
In need of a DogTag

I'm not great at trying to figure this stuff out, so I was hoping you guys might be able to help.

I'm in need of a DogTag for Pitbull's cast time on the cast bar. Before the revamp (aka, 3.0) there was a CastTime dogtag already embedded in Pitbull. However, the field now is empty.

Basically, I just want the time to tick down for how much time is left on a cast, whether its a channeled spell, a regular spell, or just opening an object. If there was a tag along the lines of "IsCasting" I think it would cover it, but as far as I can see, there isn't one.

So yes, help?

Offline
Reply With Quote
Old 04/26/08, 1:28 AM   #189
Elliae
Glass Joe
 
Elliae's Avatar
 
Night Elf Death Knight
 
Caelestrasz
Hey, I was wondering if someone could help me with my Renew tags. I've been fiddling around, and I had it working earlier, but my computer decided to mess up my WTF folder so I had to start again.

I want it to show a green 'Renew' when the frame has my renew on it, and a red 'Renew' if the frame is down by at least 1500 hp and doesn't already have one ticking.

Here's what I have so far, but it will display the red text if the target is missing any hp at all. =/

[Outline][(if HasAura("Renew") then
    "Renew":Green
end) (if MissingHP > "1500" and not HasAura("Renew") then
    "Renew":Red
end)]
@Bridonna

Originally Posted by Bridonna View Post
Anyone know how to make a new line inside a tag?

I'm trying to switch to vertical party/raid frames and I'm using dogtags to show Hots (the dots that have been discussed here a lot) but I'm trying to get them to go down the frame, not across.

When you're typing the if statements, press return in between them, it puts them on different lines when you save it, and should stack them vertically if I recall correctly.

Offline
Reply With Quote
Old 04/26/08, 2:33 AM   #190
Pagarth
Von Kaiser
 
Orc Warlock
 
Mal'Ganis
Ok, two things I can't figure out. First, I want that . centered. Basically I want it to display the name then the dot at the center, not like a period. Secondly, I want only the dot to be outlined, not the entire name. Would I be better off making my own icon and then just using that as opposed to trying to figure those two things out? Also, this shows up on Warriors. I want it to only show up on mana users. Below is the code that I'm trying to work with:

[Name (AFK or DND)] [if PercentMP < 20 then
    ".":Color("00F5FF")
end]

Offline
Reply With Quote
Old 04/26/08, 4:59 AM   #191
Enzo
Glass Joe
 
Draenei Shaman
 
Ragnaros (EU)
hey all,

Trying to mimic some of the cowtip options here, but im missing one thing that i have gotten really used to so far.

In the default cowtip display whenever you mouse over a quest mob, it says the name and how many of them out of whatever, ie Ghostly figure 1/10 coloured etc.

Anyone know how i can add this as a dogtag line to the rest of my cowtip lines?

Many thanks,

Enzo

Offline
Reply With Quote
Old 04/26/08, 10:58 AM   #192
Sajukar
King Hippo
 
Sajukar's Avatar
 
-
Troll Mage
 
No WoW Account (EU)
Enzo:

I don't think that's a cowtip feature, correct me if I'm mistaken but I never noticed that in my tooltip. It's quite likely a quest watcher addon that's adding that information to the tooltip.

You could of course, find a way to hook said addon with the dogtag library, but I suspect it would be more work than it's worth.

Offline
Reply With Quote
Old 04/26/08, 11:09 AM   #193
Bridonna
Von Kaiser
 
Blood Elf Priest
 
Turalyon
Originally Posted by Elliae View Post

@Bridonna
When you're typing the if statements, press return in between them, it puts them on different lines when you save it, and should stack them vertically if I recall correctly.
Thanks for the tip. Had to finally update to dogtag 3.0 just for this feature *sigh*. Funny such a little thing would be the thing that made me update.

Offline
Reply With Quote
Old 04/26/08, 11:29 AM   #194
 Adoriele
Happy October 19th!
 
Adoriele's Avatar
 
Night Elf Druid
 
Dragonblight
Originally Posted by Elliae View Post
[Outline][(if HasAura("Renew") then
    "Renew":Green
else if ((MissingHP > 1500) and (not HasAura("Renew"))) then
    "Renew":Red
end)]
Fixed above. It's subtle, but parentheses are pretty important sometimes. You also don't need to put quotes around the numbers. I also compacted it into one tag, since the two situations are mutually exclusive.

United States Online
Reply With Quote
Old 04/26/08, 11:46 AM   #195
dylan
Glass Joe
 
dylan's Avatar
 
Blood Elf Paladin
 
Nazjatar
Originally Posted by Tinava View Post
Basically, I just want the time to tick down for how much time is left on a cast, whether its a channeled spell, a regular spell, or just opening an object.
From the wiki: [CastEndDuration].

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