Elitist Jerks
Register
Blogs
Forums


Go Back   Elitist Jerks » User Interface and AddOns

Reply
 
LinkBack Thread Tools
Old 04/22/08, 2:40 PM   #176
Aureact
Glass Joe
 
Aureact's Avatar
 
Blood Elf Priest
 
Frostwhisper (EU)
Originally Posted by Hamsda View Post
[Status or AFK or MissingHP:VeryShort:HPColor]

should work pretty well

Works just like I wanted, except one small thing: It now shows "0" when people aren't missing any HP..
Is it possible to add something that will hide it if their HP is full?

Offline
Reply With Quote
Old 04/22/08, 2:55 PM   #177
Lorienne
...
 
Lorienne's Avatar
 
Vaikhan
Blood Elf Paladin
 
No WoW Account
Originally Posted by Aureact View Post
Works just like I wanted, except one small thing: It now shows "0" when people aren't missing any HP..
Is it possible to add something that will hide it if their HP is full?
This should do what you want, I think:

[Status or AFK or MissingHP:VeryShort:Hide(0):HPColor]

United States Offline
Reply With Quote
Old 04/22/08, 3:19 PM   #178
Aureact
Glass Joe
 
Aureact's Avatar
 
Blood Elf Priest
 
Frostwhisper (EU)
Originally Posted by Lorienne View Post
This should do what you want, I think:

[Status or AFK or MissingHP:VeryShort:Hide(0):HPColor]

Perfect! Thanks a lot ;D

Offline
Reply With Quote
Old 04/24/08, 12:13 PM   #179
Hamsda
Von Kaiser
 
Hamsda's Avatar
 
Goblin Priest
 
Mannoroth (EU)
Originally Posted by Aureact View Post
Perfect! Thanks a lot ;D
oh sorry forgot about this request >.<

Germany Offline
Reply With Quote
Old 04/24/08, 9:26 PM   #180
Pagarth
Von Kaiser
 
Orc Warlock
 
Mal'Ganis
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("<MyDot>")) and (AuraDuration("<MyDot>"))) then
   "<MyDotIsActiveMessage>":<DotColor>
end]
for the auras right?

Also, how do you delete texts you don't want? Is it in the WTF file?

Offline
Reply With Quote
Old 04/24/08, 9:43 PM   #181
 Adoriele
Save Greendale!
 
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 Offline
Reply With Quote
Old 04/24/08, 10: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, 10: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, 9: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, 1:24 PM   #185
Pagarth
Von Kaiser
 
Orc Warlock
 
Mal'Ganis
Thank you guys for your help!

Offline
Reply With Quote
Old 04/25/08, 3: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 7:10 PM.

Offline
Reply With Quote
Old 04/25/08, 5: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 5:50 PM.

Offline
Reply With Quote
Old 04/25/08, 7: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, 2: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, 3: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, 5: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, 11: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, 12:09 PM   #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, 12:29 PM   #194
 Adoriele
Save Greendale!
 
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 Offline
Reply With Quote
Old 04/26/08, 12:46 PM   #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
Old 04/26/08, 2:30 PM   #196
Tinava
Piston Honda
 
Tinava's Avatar
 
Human Warlock
 
Scarlet Crusade
Originally Posted by dylan View Post
From the wiki: [CastEndDuration].
Yes, I've tried that. Using the tag [CastEndDuration:FormatDuration] specifically. After casting, it continues to count. Not quite sure why, but there it is.

Last edited by Tinava : 04/26/08 at 2:37 PM.

Offline
Reply With Quote
Old 04/26/08, 4:06 PM   #197
Elliae
Glass Joe
 
Elliae's Avatar
 
Night Elf Death Knight
 
Caelestrasz
Originally Posted by Adoriele View Post
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.
Thanks a ton. =] I have no idea why I couldn't remember that when I was remaking it.

Offline
Reply With Quote
Old 04/28/08, 9:26 AM   #198
Lorienne
...
 
Lorienne's Avatar
 
Vaikhan
Blood Elf Paladin
 
No WoW Account
Originally Posted by Pagarth View Post
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:

Your first two things are pretty much not possible, as far as I know. The period spacing is based on your font style. I managed to get mine to look okay by not putting any normal text with the period indicators, so I could change the font size and fiddling with placement a bit to get it to look right. For the outline tag, it seems that it affects the entire line, regardless of placement, so unless you want to split up your Name and mana indicator tags, I think you may be out of luck there as well. Going with an icon may be your best bet.

However, your last problem is quite easily solved: just add a check to see if the unit uses mana.

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

United States Offline
Reply With Quote
Old 04/28/08, 9:32 AM   #199
Ele'
Piston Honda
 
Ele''s Avatar
 
Human Warlock
 
Kirin Tor (EU)
First, a small question. I have a very basic tag used to display whenever I can use a mana potion without loosing mana (basically, it check if I'm missing more than 3k mana). I'd like it to be displayed only if my mana potions are *not* on cooldown. Do anyone know of a tag that could check for potions cooldown ? If not, do anyone know of the API function used to do that ? (I could still try to hack my own tag if needed...)

On a side note, here is the tag I use on Naj'entus, it may be of interest for some peoples.
[if (not Dead and ((Name(unit="target") = "High Warlord Naj'entus") or (Name(unit="targettarget") = "High Warlord Naj'entus") or (Name(unit="focus") = "High Warlord Naj'entus")) and HP < 8200) then
    "Low Life !":Red
end]
Basically, if you are a healer, you'll want to focus Naj before the fight. Else, the tag won't be displayed if you are targetting anothre healer (no "target chain" to Naj'entus).

Offline
Reply With Quote
Old 04/28/08, 8:55 PM   #200
Allev
King Hippo
 
Allev's Avatar
 
Tauren Druid
 
Mal'Ganis
So, I can't figure a way to get the last word in a phrase, for my target frame. For instance, Get "Mauler" from "Shattered Sun Mauler". You can use Substring to do this for a fixed length, but I want it variable back to the space.

Offline
Reply With Quote
Reply

Go Back   Elitist Jerks » 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 2:30 AM