Thread Tools Display Modes
08-29-11, 03:02 PM   #1
Virro
A Fallenroot Satyr
Join Date: Nov 2010
Posts: 20
Hide Dog-Tag while casting

Hey again!
So my Ui is taking form, but i have another question!

I have some Dog-Tag text on my unitframe showing me my Health, is it possible to hide that text while casting using a Dog-Tag code?

Thaks in advance!
  Reply With Quote
08-30-11, 02:20 PM   #2
Virro
A Fallenroot Satyr
Join Date: Nov 2010
Posts: 20
Nothing =(?

Where did all the clever addon guys goo
  Reply With Quote
08-30-11, 03:30 PM   #3
Starinnia
Ninja Code Monkey
AddOn Author - Click to view addons
Join Date: Apr 2007
Posts: 84
Unfortunately I think most of the "clever addon guys" aren't using DogTags anymore. Pretty sure most of us switched to LuaTexts if we use Pitbull.
  Reply With Quote
08-30-11, 03:32 PM   #4
Virro
A Fallenroot Satyr
Join Date: Nov 2010
Posts: 20
Oh okay, well Dog-Tags seem pretty easy, and they do the trick for me. Even though i did run into a minor problem as of recent.
So can this be done with the LuA thingy?
  Reply With Quote
09-06-11, 11:31 AM   #5
Virro
A Fallenroot Satyr
Join Date: Nov 2010
Posts: 20
No1 can help me out with this?
  Reply With Quote
09-06-11, 10:49 PM   #6
Nibelheim
local roygbi-
 
Nibelheim's Avatar
AddOn Author - Click to view addons
Join Date: Jan 2010
Posts: 1,600
LuaTexts can easily handle this.

Basic functionality:
Code:
local cast_data = CastData(unit)
if cast_data then
    return ''
else
    return '%s', HP(unit)
end
  Reply With Quote
09-07-11, 02:39 AM   #7
Virro
A Fallenroot Satyr
Join Date: Nov 2010
Posts: 20
Originally Posted by Nibelheim View Post
LuaTexts can easily handle this.

Basic functionality:
Code:
local cast_data = CastData(unit)
if cast_data then
    return ''
else
    return '%s', HP(unit)
end
If i´m gonna switch to LuaTexts i need some help transforming my old DogTag scripts into LuaText. Here is what i got so far, can LuaTexts do this? and how?

Player:

HP: [Outline] [White HP:Short]

HP%: [(~IsMaxHP ? ~Dead ? Outline PercentHP:Round:HPColor)]


Target:

HP: [Outline] [White HP:Short]

HP%: [(~IsMaxHP ? ~Dead ? Outline PercentHP:Round:HPColor)]

Name: [Outline][Name:ClassColor:Truncate(30)]


Can i get this to work with LuaTexts?

PS: The % script is showing my percentage HP whenever my HP is below 100%, and is hidden when its 100%
  Reply With Quote
09-07-11, 04:05 AM   #8
Virro
A Fallenroot Satyr
Join Date: Nov 2010
Posts: 20
Problem has been solved using DogTags, so i wont make the switch
Thanks to the people who helped me out anyway thou! <3
  Reply With Quote
09-07-11, 04:32 AM   #9
Torhal
A Pyroguard Emberseer
 
Torhal's Avatar
AddOn Author - Click to view addons
Join Date: Aug 2008
Posts: 1,196
The entire reason LuaTexts was created is because of inefficiencies in DogTags (which can be so bad that FPS is severely impacted).
__________________
Whenever someone says "pls" because it's shorter than "please", I say "no" because it's shorter than "yes".

Author of NPCScan and many other AddOns.
  Reply With Quote
09-07-11, 05:23 AM   #10
Virro
A Fallenroot Satyr
Join Date: Nov 2010
Posts: 20
Originally Posted by Torhal View Post
The entire reason LuaTexts was created is because of inefficiencies in DogTags (which can be so bad that FPS is severely impacted).
Well i bumped into a problem using LUA, i have my Hp displayed "Outside-Above-Left" over the HP bar, but it sticks out to the left. Using dogtags i could "push" the code to the right in the code edit box and move it to the right on my bar.
Not really sure how to move LUA text
  Reply With Quote

WoWInterface » AddOns, Compilations, Macros » AddOn Help/Support » Hide Dog-Tag while casting

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off