Elitist Jerks
Register
Blogs
Forums


Go Back   Elitist Jerks » User Interface and AddOns

Reply
 
LinkBack Thread Tools
Old 06/01/10, 6:53 PM   #626
epic
Glass Joe
 
Tauren Druid
 
Twilight's Hammer (EU)
Great contributions guys, these have vastly improved my gameplay, and of course help pretty-up my UI. However, I have 2 queries:

Is there any dog tag that could perhaps help me determine which auras are mine (Mid-raid and I realised the text-auras I was using to track my HoTs were showing another Druid's). I did try searching for some kind of 'ismine' tag, but to no avail.

Any addon that could display dogtags independent of the unitframe, as to scatter useless information about my screen.

I would love to learn the LUA counterpart, but whenever I begin, it just totally eludes me.

Regards.

Offline
Reply With Quote
Old 06/05/10, 6:51 PM   #627
Noraj
Don Flamenco
 
Noraj's Avatar
 
Dwarf Paladin
 
Lightbringer
Originally Posted by epic View Post
Great contributions guys, these have vastly improved my gameplay, and of course help pretty-up my UI. However, I have 2 queries:

Is there any dog tag that could perhaps help me determine which auras are mine (Mid-raid and I realised the text-auras I was using to track my HoTs were showing another Druid's). I did try searching for some kind of 'ismine' tag, but to no avail.

Any addon that could display dogtags independent of the unitframe, as to scatter useless information about my screen.

I would love to learn the LUA counterpart, but whenever I begin, it just totally eludes me.

Regards.

Here's how I check to see if it's a buff that I cast (This was with Shadowed Unit Frames):

if UnitAura(unit, "Wild Growth") then
    local _,_,_,_,_,_,timeleft,caster = UnitAura(unit, "Wild Growth")
      if caster == "player" then
        local rem = - (GetTime() - timeleft)
        rem = string.format("%d",rem)
        wild = "|cffffff00[" .. rem .. "]|r"
      end
end
Basically, you just want to get the value of unitCaster from UnitAura and check to see whether or not it's "player" meaning yourself. This particular bit of code also gets the time remaining on the buff and sets a variable with that information and a color code to be spit out later on.

Here's more info on the UnitAura() function, and the rest of the example on how to use the code above.

You might check out either STUF or SUF if you're interested in divorcing the tags a bit aways from your frame.

Last edited by Noraj : 06/06/10 at 1:27 AM.

"The question is not how far we are going to take it... the question is, do you possess the constitution to go as far as needed?" - Il Duce

Offline
Reply With Quote
Old 06/25/10, 4:03 PM   #628
doomtop
Glass Joe
 
Night Elf Rogue
 
Bleeding Hollow
Not sure how, or if, you can delete posts?

Last edited by doomtop : 06/25/10 at 4:31 PM.

Offline
Reply With Quote
Old 07/05/10, 1:19 PM   #629
Andilar
Glass Joe
 
Orc Death Knight
 
Frostmane (EU)
Okay so I've figured out a code that will track my diseases on the target, theres only one problem, when I'm in raids it doesn't show my diseases all the time, it sometimes shows someone elses.

Here is my code
[Outline] [if IsEnemy and InCombat(unit="player") then
(if AuraDuration("Frost Fever", unit="target") >= 8 then
AuraDuration("Frost Fever"):FormatDuration("e"):Color("9edbff")
elseif (AuraDuration("Frost Fever", unit="target") < 8) and (AuraDuration("Frost Fever", unit="target") >= 3) then
AuraDuration("Frost Fever"):FormatDuration("e"):Color("ffdbff")
elseif (AuraDuration("Frost Fever", unit="target") < 3) and (AuraDuration("Frost Fever", unit="target") > 0) then
AuraDuration("Frost Fever"):FormatDuration("e"):Red
else
"No FF":Red
end)
end]

Anyone knows how I get it to only track my diseases, it'd be highly appriciated.

Offline
Reply With Quote
Old 07/27/10, 5:19 AM   #630
skmz
Glass Joe
 
Tauren Druid
 
Talnivarr (EU)
I found a code for my first request, so I removed it.

Last edited by skmz : 07/27/10 at 10:49 AM.

Offline
Reply With Quote
Old 09/06/10, 8:59 AM   #631
mr.bo
Glass Joe
 
mr.bo's Avatar
 
Tauren Shaman
 
Moon Guard
Battle/Commanding Shout

I set up a DogTag to tell me when my shout was down, but I can't seem to figure out how to get it to differentiate between specs, or stances with DogTag 3.0. I saw that there was another post about stances, but no replies, so I figured I'd give it another shot. Here is what I have. It works great as long as I use the same shout in both stances/specs. Is there a way to set it up for different shouts for each spec/stance?

[Outline] [if (Class(unit="player") = "Warrior") and ~HasAura("Battle Shout") and (MP > 9) then
    "SHOUT!  ":Yellow
end]

Offline
Reply With Quote
Old 10/29/10, 10:38 PM   #632
Phaux
Glass Joe
 
Phaux's Avatar
 
Blood Elf Paladin
 
Mal'Ganis
A dogtag to hide text while casting.

I have 2 lines of text on my bar and I need a dogtag that will allow me to hide the text while casting. Sorry if there is a better way to post the dogtags below or if this has been talked about somewhere else and I missed it.

I need to incorporate both of these lines to hide while player is casting and while target is casting, The 2 lines of text are:

[DifficultyColor]BIO

and

[ClassColor] Lv. [Level] - [SmartRace] [(~IsPlayerOrPet ? Classification:Contains("Rare") ? "Rare":Gray) (~IsPlayerOrPet ? Classification:Contains("Elite") ? "Elite":Yellow) (~IsPlayerOrPet ? Classification:Contains("Boss") ? "Boss":Red)] [IsPlayerOrPet ? Faction:Contains("Alliance") ? "A":HostileColor] [IsPlayerOrPet ? Faction:Contains("Horde") ? "H":HostileColor]

If anyone can help me, that would be aweswome. Thanks in advance.

Offline
Reply With Quote
Old 10/30/10, 11:40 PM   #633
Phaux
Glass Joe
 
Phaux's Avatar
 
Blood Elf Paladin
 
Mal'Ganis
Originally Posted by Phaux View Post
I have 2 lines of text on my bar and I need a dogtag that will allow me to hide the text while casting. Sorry if there is a better way to post the dogtags below or if this has been talked about somewhere else and I missed it.

I need to incorporate both of these lines to hide while player is casting and while target is casting, The 2 lines of text are:

[DifficultyColor]BIO

and

[ClassColor] Lv. [Level] - [SmartRace] [(~IsPlayerOrPet ? Classification:Contains("Rare") ? "Rare":Gray) (~IsPlayerOrPet ? Classification:Contains("Elite") ? "Elite":Yellow) (~IsPlayerOrPet ? Classification:Contains("Boss") ? "Boss":Red)] [IsPlayerOrPet ? Faction:Contains("Alliance") ? "A":HostileColor] [IsPlayerOrPet ? Faction:Contains("Horde") ? "H":HostileColor]

If anyone can help me, that would be aweswome. Thanks in advance.

An update to my own question:

[if CastStartDuration(unit="player") and 'Casting' then    ""else
    DifficultyColor "BIO"end]
and

[if CastStartDuration(unit="player") and 'Casting' then    ""else
    ClassColor "Lv. " Level "  - " SmartRace (~IsPlayerOrPet ? Classification:Contains("Rare") ? "Rare":Gray) (~IsPlayerOrPet ? Classification:Contains("Elite") ? "Elite":Yellow) (~IsPlayerOrPet ? Classification:Contains("Boss") ? "Boss":Red) (IsPlayerOrPet ? 
Faction:Contains("Alliance") ? " A":HostileColor) (IsPlayerOrPet ? Faction:Contains("Horde") ? " H":HostileColor)end]

Offline
Reply With Quote
Old 11/16/10, 4:02 PM   #634
Deipotent
Glass Joe
 
Tauren Druid
 
Kil'Jaeden
I was looking through and couldn't find anything on this so:

Druid:
I need something like this for my power bar
Cat form says Cat
Bear form says Bear
all other forms show mana

Offline
Reply With Quote
Old 12/03/10, 6:21 PM   #635
skmz
Glass Joe
 
Tauren Druid
 
Talnivarr (EU)
Help me with this code.

Nevermind. Made it work.

Last edited by skmz : 12/04/10 at 6:28 AM.

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 1:30 AM