HOTT in HUD

Forum for posting custom UIs, portions of UIs, and HUD stuff using MQ's enhancements.

Moderator: MacroQuest Developers

|| Napolion ||
a ghoul
a ghoul
Posts: 96
Joined: Sat Dec 28, 2002 7:45 am

HOTT in HUD

Post by || Napolion || » Wed Jul 27, 2005 4:49 pm

I was having this

Code: Select all

     TargetoftargetInfo=1,440,725,255,234,8,${If[${Me.TargetOfTarget.CleanName.NotEqual["NULL"]},Target of target Information:,]}
     Hott=1,440,740,255,255,255,${If[${Me.TargetOfTarget.CleanName.NotEqual["NULL"]},${Me.TargetOfTarget.CleanName},]} 
     Hott2=1,440,755,255,255,255,${If[${Me.TargetOfTarget.CleanName.NotEqual["NULL"]},${Me.TargetOfTarget},]} 
     HottGuage=1,440,770,255,0,0,${String[====================].Left[${Int[${Math.Calc[${Int[${Me.TargetOfTarget.PctHPs}]}*.2]}]}]} 
     HottNormGuage=1,440,770,255,255,255,${If[${Me.TargetOfTarget.CleanName.NotEqual["NULL"]},====================  ${Me.TargetOfTarget.PctHPs}%,]}
in my HUD and after then removing of ${String} TLO I can't figur out a Left function.
Any one have a solution to it ?
|| Napolion ||

skyler
a snow griffon
a snow griffon
Posts: 311
Joined: Wed May 11, 2005 9:22 am

Post by skyler » Wed Jul 27, 2005 5:07 pm

can you create a temp string and add your [====] and then your int?

User avatar
Night Hawk
a grimling bloodguard
a grimling bloodguard
Posts: 590
Joined: Fri Aug 13, 2004 4:56 pm

Post by Night Hawk » Wed Jul 27, 2005 5:21 pm

Unfortunately this was one of the "correct" uses of the ${String} TLO.

The only way to fix this is use the Autoloaded CFG files:
http://macroquest2.com/phpBB2/viewtopic.php?t=5913

And create a string there.

Code: Select all

/declare HPLine string global ====================
And use this in your hud instead:

Code: Select all

${HPLine.Left[${Int[${Math.Calc[${Int[${Me.TargetOfTarget.PctHPs}]}*.2]}]}]}
At least that should be right ;)

|| Napolion ||
a ghoul
a ghoul
Posts: 96
Joined: Sat Dec 28, 2002 7:45 am

Post by || Napolion || » Wed Jul 27, 2005 5:51 pm

Declare a global when ever I start EQ and then use my HOTT HUD ?

Well it's not nice coding, but I give it a go.

Thanks alot for your help
|| Napolion ||

User avatar
fice
a hill giant
a hill giant
Posts: 187
Joined: Thu Jul 17, 2003 3:28 pm

Post by fice » Wed Jul 27, 2005 9:01 pm

it's not too hard to uncomment the previous code for strings!

Keoki
orc pawn
orc pawn
Posts: 10
Joined: Sat Jul 02, 2005 7:27 am

Post by Keoki » Sun Aug 14, 2005 3:25 pm

I had an issue getting the HP% to show properly for target/targetoftarget on the HUD.. After a bit of playing and crawling through threads i ended up getting this to work:

Code: Select all

TargetGuage=3,320,485,255,0,0,${HPLine.Left[${Int[${Math.Calc[${Int[${Target.PctHPs}]}*.2]}]}]}
         TNormGuage=3,320,485,255,255,255,${If[${Target.ID},Health of Target ${Target.PctHPs}%,]} 
And

Code: Select all

HottGuage=1,440,770,255,0,0,${HPLine.Left[${Int[${Math.Calc[${Int[${Me.TargetOfTarget.PctHPs}]}*.2]}]}]} 
     HottNormGuage=1,440,770,255,255,255,${If[${Me.TargetOfTarget.CleanName.NotEqual["NULL"]},Health of Target's Target  ${Me.TargetOfTarget.PctHPs}%,]} 
I didn't mess with any CFG or /declare anything, but since this was the primary thread that helped me get this working , figured I'd post it

Thanks guys/gals for the info, btw !

xyilla
naggy
naggy
Posts: 27391
Joined: Sun Feb 23, 2025 5:36 am

Re: HOTT in HUD

Post by xyilla » Thu Jun 05, 2025 6:21 pm


xyilla
naggy
naggy
Posts: 27391
Joined: Sun Feb 23, 2025 5:36 am

Re: HOTT in HUD

Post by xyilla » Thu Jun 05, 2025 6:22 pm


xyilla
naggy
naggy
Posts: 27391
Joined: Sun Feb 23, 2025 5:36 am

Re: HOTT in HUD

Post by xyilla » Thu Jun 05, 2025 6:23 pm


xyilla
naggy
naggy
Posts: 27391
Joined: Sun Feb 23, 2025 5:36 am

Re: HOTT in HUD

Post by xyilla » Thu Jun 05, 2025 6:24 pm


xyilla
naggy
naggy
Posts: 27391
Joined: Sun Feb 23, 2025 5:36 am

Re: HOTT in HUD

Post by xyilla » Thu Jun 05, 2025 6:25 pm


xyilla
naggy
naggy
Posts: 27391
Joined: Sun Feb 23, 2025 5:36 am

Re: HOTT in HUD

Post by xyilla » Thu Jun 05, 2025 6:26 pm


xyilla
naggy
naggy
Posts: 27391
Joined: Sun Feb 23, 2025 5:36 am

Re: HOTT in HUD

Post by xyilla » Thu Jun 05, 2025 6:27 pm


xyilla
naggy
naggy
Posts: 27391
Joined: Sun Feb 23, 2025 5:36 am

Re: HOTT in HUD

Post by xyilla » Thu Jun 05, 2025 6:29 pm


xyilla
naggy
naggy
Posts: 27391
Joined: Sun Feb 23, 2025 5:36 am

Re: HOTT in HUD

Post by xyilla » Thu Jun 05, 2025 6:30 pm