Thread Tools Display Modes
01-07-06, 03:27 PM   #1
kknostman
A Murloc Raider
Join Date: Aug 2005
Posts: 4
HUD bars, rotation problem

Heyas,

I'm using epij hud with the bars switched so that the left bars are mine and the right bars the targets. The problem I'm having is that the bars "rotate" as they deplete, through 90 degrees from full to empty. The positioning is fine other than the rotation.

Here's the code that modifies the bars (it's an onevent trigger).

***************
if arg1=="player" then
local r,g,b = DUF_Get_HealthColor("player", DART_Settings[DART_INDEX][ti].color);
DART_Color(ti,r,g,b, DART_Settings[DART_INDEX][ti].alpha);

if UnitHealthMax("player")==0 then return; end
local p=UnitHealth("player")/UnitHealthMax("player");
local h = 512 * p;
local t="Interface\\AddOns\\DiscordArt\\CustomTextures\\epijhealth";
DART_Height(ti, h);
DART_Texture(ti, t, {0,1,1-p,1});

if (p>0.8) then DART_Color(ti,0,1,0,DART_Settings[DART_INDEX][ti].alpha) end;
end

*****************

Any ideas on how to make it deplete with modifying the rotation or curving the bars unnaturally?

Thanks,
  Reply With Quote
01-07-06, 10:31 PM   #2
kknostman
A Murloc Raider
Join Date: Aug 2005
Posts: 4
Bump :/

Help!
  Reply With Quote
02-07-06, 10:40 PM   #3
efhx
A Murloc Raider
Join Date: Feb 2006
Posts: 5
im looking for this also.. i want my HP on left and target on right if possible
  Reply With Quote

WoWInterface » AddOns, Compilations, Macros » Released AddOns » HUD bars, rotation problem


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