Elitist Jerks
Register
Blogs
Forums


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

Reply
 
LinkBack Thread Tools
Old 03/30/08, 8:06 PM   #31
Imbar
Piston Honda
 
Imbar's Avatar
 
Blood Elf Paladin
 
Sentinels
Olond, that makes me think of another tag.
Would there be a way to have "Targetted by: 24 others" if a bunch of people (the whole raid) are targetting the mob, but "Targetted by: Tank1, DPS1, DPS2" if only a few people are targetting it?

Say, something like:
if(# of raid members targetting mob < 5)
       print each individual name separated by commas
else
       print # of raid members targetting mob

I read Banhammer posts when I'm having a bad day.

Offline
Reply With Quote
Old 03/30/08, 8:31 PM   #32
Zedd
Piston Honda
 
Zedd's Avatar
 
Draenei Shaman
 
Nordrassil (EU)
With some help of Wowace forums:

[if MissingMP >= 2200 then
    (if MissingMP >= 3200 then
        "FelMana"
    else
        "ManaPot"
    end)
end]
Displays "Manapot" when 2200 mana is used and "FelMana" when 3200 is used.
Nice to know when you wont overshoot a Mana Potion.

Offline
Reply With Quote
Old 03/30/08, 8:52 PM   #33
MaveN
Von Kaiser
 
Draenei Shaman
 
Uldum
Originally Posted by Sethik View Post
Had a few requests for updated tags for my CowTip styles:



LEFT:

[Level:White] [NameRealm:ClassColor] [Classification:Paren]
[if Guild then Guild:Angle:Green " " GuildRank:Paren:Color("caf6c8") else " " end]
[(if IsPlayer and IsFriend then (if TalentSpec then TalentTree " " TalentSpec:Paren:Gray else "Loading..." end) end) (if IsUnit("pet") then HappyText end)]
[Zone]
[if IsUnit("player", Target) then Red "Targeting << You >>" elseif Target:NameRealm then "Targeting <" Target:NameRealm:ClassColor(Target) ">" end]

RIGHT:

[Faction or SmartRace]
[if Faction then SmartRace end]
[if IsPlayerOrPet then PercentHP:Percent:HPColor elseif InCombat then PercentHP:Percent:HPColor end]
Something I whipped up last night:



And if the CC is your own:



Yes, it is as good as it looks. Works with focus, target, whatever you like. Position is Frame - Edge, Top Middle.

[if HasAura("Freezing Trap Effect") or HasAura("Polymorph") or HasAura("Sap") or HasAura("Gouge") or HasAura("Seduce") or HasAura("Banish") or HasAura("Fear") or HasAura("Howl of Terror") or HasAura("Intimidating Shout") or HasAura("Entangling Roots") or HasAura("Cyclone") or HasAura("Hibernate") or HasAura("Psychic Scream") or HasAura("Blind") or HasAura("Repentance") then
    (Outline "*Crowd Control* " Gray AuraDuration("Freezing Trap Effect"):FormatDuration("s"):Paren AuraDuration("Polymorph"):FormatDuration("s"):Paren AuraDuration("Sap"):FormatDuration("s"):Paren AuraDuration("Gouge"):FormatDuration("s"):Paren AuraDuration("Seduce"):FormatDuration("s"):Paren AuraDuration("Banish"):FormatDuration("s"):Paren AuraDuration("Fear"):FormatDuration("s"):Paren AuraDuration("Howl of Terror"):FormatDuration("s"):Paren AuraDuration("Intimidating Shout"):FormatDuration("s"):Paren AuraDuration("Entangling Roots"):FormatDuration("s"):Paren AuraDuration("Cyclone"):FormatDuration("s"):Paren AuraDuration("Hibernate"):FormatDuration("s"):Paren AuraDuration("Psychic Scream"):FormatDuration("s"):Paren AuraDuration("Blind"):FormatDuration("s"):Paren AuraDuration("Repentance"))
end]
Pseudo code for the above is:

[if HasAura("CC") then (Outline "*Crowd Control* " Gray AuraDuration("CC"):FormatDuration("s"):Paren) end]

Enjoy!
None of them worked when i put them in the cowtip . What am i doing wrong?

Offline
Reply With Quote
Old 03/30/08, 9:06 PM   #34
Sethik
Glass Joe
 
Blood Elf Hunter
 
Drak'thul
Originally Posted by MaveN View Post
None of them worked when i put them in the cowtip . What am i doing wrong?
Make sure you're using the latest CowTip (read: the one using the 3.0 lib). Aside from that, couldn't tell you.

Offline
Reply With Quote
Old 03/30/08, 9:31 PM   #35
MaveN
Von Kaiser
 
Draenei Shaman
 
Uldum
Originally Posted by Sethik View Post
Make sure you're using the latest CowTip (read: the one using the 3.0 lib). Aside from that, couldn't tell you.
Still givin me syntax errors, *sigh* guess i gota start over, and this is cotip 3.0 to i dont get it. Maybe if i delete the entire cowtip and the saved variables, then put in cowtip over again and start there? I think ill try that.

Offline
Reply With Quote
Old 03/30/08, 11:25 PM   #36
FAME
Von Kaiser
 
FAME's Avatar
 
Human Death Knight
 
Turalyon
Does anyone know if there is a new equivalent to IsLessEqual() yet?

Last edited by FAME : 03/30/08 at 11:34 PM.

Offline
Reply With Quote
Old 03/31/08, 12:59 AM   #37
Cronax
Von Kaiser
 
Human Shaman
 
Turalyon (EU)
Originally Posted by FAME View Post
Does anyone know if there is a new equivalent to IsLessEqual() yet?
I think you can solve this with an "if" structure combined with the >= operand. Like for instance:

[if MissingMP >= 2200 then 
    (if MissingMP >= 3200 then 
        "FelMana" 
    else 
        "ManaPot" 
    end) 
end]
In this case, it should return "FelMana" for less then or equal to 3200 mana and "ManaPot" for less then or equal to 2200 mana.

Belgium Offline
Reply With Quote
Old 03/31/08, 11:42 AM   #38
Thanahtos
Von Kaiser
 
Thanahtos's Avatar
 
Undead Warlock
 
Stormrage
I'm having a bit of trouble figuring out how to do this... It's for my ToT bar, and I'd like for it to display the name of the ToT, and if the ToT is me, to say "ME" instead of Thanahtos... Is there any way to do it?

Offline
Reply With Quote
Old 03/31/08, 11:44 AM   #39
Malan
Mike Tyson
 
Malan's Avatar
 
Malan
Tauren Shaman
 
No WoW Account
Originally Posted by Thanahtos View Post
I'm having a bit of trouble figuring out how to do this... It's for my ToT bar, and I'd like for it to display the name of the ToT, and if the ToT is me, to say "ME" instead of Thanahtos... Is there any way to do it?
(IsUnit('player', Target) ? ClassColor("") '<<You>>':white ! Target:NameRealm)

Some modification of the above will get you there.

United States Offline
Reply With Quote
Old 03/31/08, 11:47 AM   #40
Hamsda
Piston Honda
 
Hamsda's Avatar
 
Goblin Priest
 
Mannoroth (EU)
Originally Posted by Imbar View Post
Olond, that makes me think of another tag.
Would there be a way to have "Targetted by: 24 others" if a bunch of people (the whole raid) are targetting the mob, but "Targetted by: Tank1, DPS1, DPS2" if only a few people are targetting it?

Say, something like:
if(# of raid members targetting mob < 5)
       print each individual name separated by commas
else
       print # of raid members targetting mob
i'm not 100 percent sure with the spelling as i couldn't check it ingame but this should help you:

[if IsEnemy ? if not IsPlayerorPet ? then
(if NumTargeting(unit="mouseovertarget") >= 6 then
"targetted by [NumTargeting(unit="mouseovertarget)] people" else
TargetingList(unit="mouseovertarget")
end) end]

Germany Offline
Reply With Quote
Old 03/31/08, 11:50 AM   #41
SOOPRcow
Glass Joe
 
Night Elf Druid
 
Tichondrius
I figured I would post my Target Frame's Health Listing here:

The following DogTag will display as follows:
Friendly Player or NPC with UNKNOWN Health: "Percent HP" - (example: 77%)
Friendly Player or NPC with KNOWN health: "Current HP - Missing HP" - (example: 9453-1566)

Enemy Player or NPC with UNKNOWN Health: "Percent HP" - (example: 54%)
Enemy Player o NPC with KNOWN Health: "Short Current HP / Short Max HP (Percent HP)" - (example: 11k/12k (91%))

It will also display the status of each target if they are dead. Also, for a mob's health to be known on an NPC you must have mobhealth.

[(if IsFriend then
    (if not HP(known=true) then
        PercentHP:Percent
    else
        (if not Dead then
            HP
        end)
    end)
end) 
(if IsFriend then
    (if HP(known=true) then
        (Status | (-MissingHP):Hide(0):Short:Color("ff7f7f"))
    end)
else
    (Status | (if not HP(known=true) then
        PercentHP:Percent
    else
        FractionalHP:Short PercentHP:Percent:Paren:Prepend(" ")
    end))
end)]

Offline
Reply With Quote
Old 03/31/08, 11:58 AM   #42
Thanahtos
Von Kaiser
 
Thanahtos's Avatar
 
Undead Warlock
 
Stormrage
Originally Posted by Malan View Post
(IsUnit('player', Target) ? ClassColor("") '<<You>>':white ! Target:NameRealm)

Some modification of the above will get you there.
I'm sorry for being so copy-paste with no work, but I'm getting syntax errors, and I'm not sure why. I tried re-writing it, and I couldn't get it to work.

Offline
Reply With Quote
Old 03/31/08, 12:11 PM   #43
Malan
Mike Tyson
 
Malan's Avatar
 
Malan
Tauren Shaman
 
No WoW Account
Yah that's not the full tag, that's just part of the IF THEN stuff you'll need to get it working. You can't just copy paste that in, its incomplete. Go back to the bottom of page 1 and look at the examples of how people are displaying <<YOU>> when your mouseover target is targeting you.

United States Offline
Reply With Quote
Old 03/31/08, 3:18 PM   #44
Ecliptic
Glass Joe
 
Night Elf Rogue
 
Blackhand
is this where I could request some code as im not familiar with this?

Offline
Reply With Quote
Old 03/31/08, 7:53 PM   #45
Zomghuntar
Von Kaiser
 
Orc Hunter
 
Executus
Originally Posted by Lakesh View Post
The idea was to replace Demon.
(I too Apologies for the repost but now i have a screen shoot.)



The text is only visible if the target is a enemy (and not a player or pet).

[(IsEnemy ? ~IsPlayerOrPet ? NumDebuffs:Hide(0)) (if (IsEnemy ? ~IsPlayerOrPet) then
Is there a way to disable the Debuff count that shows up?
If i just remove NumDebuffs from the code it gives me a Syntax Error.

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