Broken Target's target

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

Moderator: MacroQuest Developers

Excalibur
orc pawn
orc pawn
Posts: 15
Joined: Thu Oct 14, 2004 4:35 pm

Broken Target's target

Post by Excalibur » Fri Oct 22, 2004 3:06 am

I am not sure what went wrong, but my HUD no longer displays target's target information :( It did, and now it does not. Here is what I am working with:

Code: Select all

[MQ2HUD]
Last=elements

[Elements]
Time=3,980,214,255,255,255,Real Time: ${Time}
GTime=3,980,226,255,255,255,Game Time: ${GameTime}
CursorItemName=7,-15,-15,255,255,255,${If[${Cursor.ID},${Cursor},]}


GM1=3,980,250,255,255,255,GM:
GM2=3,1000,250,255,0,0,${If[${Spawn[GM]},Yes,]}
GM3=3,1000,250,0,255,0,${If[${Spawn[GM]},,No]} 


fm1=3,980,238,255,255,255,Full Mana in: 
fm2=3,1038,238,0,255,255, ${Int[${Math.Calc[(${Me.MaxMana}-${Me.CurrentMana})/(${Me.ManaRegen}|1)/10]}]}:${Int[${Math.Calc[(${Me.MaxMana}-${Me.CurrentMana})/(${Me.ManaRegen}|1)%10*6]}]} min


Spawn1=3,955,525,255,255,0,${If[${NearestSpawn[1,npc #].Name.NotEqual["NULL"]},${NearestSpawn[1,npc #].Level},]} - ${If[${NearestSpawn[1,npc #].Name.NotEqual["NULL"]},${NearestSpawn[1,npc #].Name},]} 
     Spawn2=3,955,535,255,255,0,${If[${NearestSpawn[2,npc #].Name.NotEqual["NULL"]},${NearestSpawn[2,npc #].Level},]} - ${If[${NearestSpawn[2,npc #].Name.NotEqual["NULL"]},${NearestSpawn[2,npc #].Name},]} 
     Spawn3=3,955,545,255,255,0,${If[${NearestSpawn[3,npc #].Name.NotEqual["NULL"]},${NearestSpawn[3,npc #].Level},]} - ${If[${NearestSpawn[3,npc #].Name.NotEqual["NULL"]},${NearestSpawn[3,npc #].Name},]} 
     Spawn4=3,955,555,255,255,0,${If[${NearestSpawn[4,npc #].Name.NotEqual["NULL"]},${NearestSpawn[4,npc #].Level},]} - ${If[${NearestSpawn[4,npc #].Name.NotEqual["NULL"]},${NearestSpawn[4,npc #].Name},]} 
     Spawn5=3,955,565,255,255,0,${If[${NearestSpawn[5,npc #].Name.NotEqual["NULL"]},${NearestSpawn[5,npc #].Level},]} - ${If[${NearestSpawn[5,npc #].Name.NotEqual["NULL"]},${NearestSpawn[5,npc #].Name},]} 
     Spawn6=3,955,575,255,255,0,${If[${NearestSpawn[6,npc #].Name.NotEqual["NULL"]},${NearestSpawn[6,npc #].Level},]} - ${If[${NearestSpawn[6,npc #].Name.NotEqual["NULL"]},${NearestSpawn[6,npc #].Name},]} 
     Spawn7=3,955,585,255,255,0,${If[${NearestSpawn[7,npc #].Name.NotEqual["NULL"]},${NearestSpawn[7,npc #].Level},]} - ${If[${NearestSpawn[7,npc #].Name.NotEqual["NULL"]},${NearestSpawn[7,npc #].Name},]} 
     Spawn8=3,955,595,255,255,0,${If[${NearestSpawn[8,npc #].Name.NotEqual["NULL"]},${NearestSpawn[8,npc #].Level},]} - ${If[${NearestSpawn[8,npc #].Name.NotEqual["NULL"]},${NearestSpawn[8,npc #].Name},]} 
     Spawn9=3,955,605,255,255,0,${If[${NearestSpawn[9,npc #].Name.NotEqual["NULL"]},${NearestSpawn[9,npc #].Level},]} - ${If[${NearestSpawn[9,npc #].Name.NotEqual["NULL"]},${NearestSpawn[9,npc #].Name},]} 


LightRangeCheck=3,850,214,255,234,8,${If[${Target.ID},Light,]} 
LightRangelbl=3,900,214,255,234,8,${If[${Target.ID},~~~>,]} 
LightRange=3,934,214,0,255,0,${If[${Target.ID},${If[${Target.Distance}<120,Yes,]},]} 
LightRange2=3,934,214,255,0,0,${If[${Target.ID},${If[${Target.Distance}<120,,No]},]} 

SpamRangeCheck=3,850,226,255,234,8,${If[${Target.ID},Spam,]} 
SpamRangelbl=3,900,226,255,234,8,${If[${Target.ID},~~~>,]} 
SpamRange=3,934,226,0,255,0,${If[${Target.ID},${If[${Target.Distance}<240,Yes,]},]} 
SpamRange2=3,934,226,255,0,0,${If[${Target.ID},${If[${Target.Distance}<240,,No]},]} 

LOSCheck=1,850,238,255,234,8,${If[${Target.ID},L.O.S.,]} 
LOSChecklbl=3,900,238,255,234,8,${If[${Target.ID},~~~>,]} 
LOSCheckResponseT=1,934,238,255,0,0,${If[${Target.ID},${If[${Target.LineOfSight},TRUE,]},]} 
LOSCheckResponseF=1,934,238,0,255,0,${If[${Target.ID},${If[${Target.LineOfSight},,FALSE]},]}


Targetboxlabel1=3,850,262,255,234,8,${If[${Target.ID},============           ==============                         ====,]} 
Targetboxlabel2=3,923,262,255,234,8,${If[${Target.ID},Target                             Target's Target,]} 

TargetLVLClass=3,936,274,0,255,0,${If[${Target.ID},${Target.Level},]} 
TargetLVLClasslbl=3,850,274,255,234,8,${If[${Target.ID},Level,]} 
TargetLVLClasslbl7=3,900,274,255,234,8,${If[${Target.ID},~~~>,]} 
TargetLevelHottA=3,1020,274,0,255,0,${If[${Target.ID},${Me.TargetOfTarget.Level},]} 
Div1=3,1010,274,255,234,8,${If[${Target.ID},|                                          |,]} 

TargetLVLClass2=3,850,286,255,234,8,${If[${Target.ID},Class,]} 
TargetLVLClass7=3,900,286,255,234,8,${If[${Target.ID},~~~>,]} 
TargetLVLClass2lbl=3,936,286,0,255,0,${If[${Target.ID},${Target.Class},]} 
TargetLevelHottC=3,1020,286,0,255,0,${If[${Target.ID},${Me.TargetOfTarget.Class},]} 
Div3=3,1010,286,255,234,8,${If[${Target.ID},|                                          |,]} 

TargetLVLClass3=3,850,298,255,234,8,${If[${Target.ID},Race,]} 
TargetLVLClass4=3,900,298,255,234,8,${If[${Target.ID},~~~>,]} 
TargetLVLClass3lbl=3,936,298,0,255,0,${If[${Target.ID},${Target.Race},]} 
TargetLevelHottD=3,1020,298,0,255,0,${If[${Target.ID},${Me.TargetOfTarget.Race},]} 
Div4=3,1010,298,255,234,8,${If[${Target.ID},|                                          |,]} 

DirectionTarg=3,850,310,255,234,8,${If[${Target.ID},Direction,]} 
DirectionTarg3=3,900,310,255,234,8,${If[${Target.ID},~~~>,]} 
DirectionTarg2=3,936,310,0,255,0,${Target.HeadingTo} 
TargetLevelHottB=3,1020,310,0,255,0,${If[${Target.ID},${Me.TargetOfTarget.HeadingTo},]} 
Div2=3,1010,310,255,234,8,${If[${Target.ID},|                                          |,]} 

TData3=3,850,322,255,234,8,${If[${Target.ID},Distance,]} 
DirectionTarg23=3,900,322,255,234,8,${If[${Target.ID},~~~>,]} 
TData3b=3,936,322,0,255,0,${If[${Target.ID},${Target.Distance},]} 
TargetLevelHottE=3,1020,322,0,255,0,${If[${Target.ID},${Me.TargetOfTarget.Distance},]} 
Div5=3,1010,322,255,234,8,${If[${Target.ID},|                                          |,]} 

TData4=3,850,334,255,234,8,${If[${Target.ID},Max Range,]}
DirectionTarg33=3,900,334,255,234,8,${If[${Target.ID},~~~>,]}
TargetData3=3,936,334,0,255,0,${If[${Target.ID},${Target.MaxRange},]}
TargetDataHottF=3,1020,334,0,255,0,${If[${Target.ID},${Me.TargetOfTarget.MaxRange},]}
Div6=3,1010,334,255,234,8,${If[${Target.ID},|                                          |,]}

Targetboxlabel3=3,850,346,255,234,8,${If[${Target.ID},================================================,]}
Any help is greatly appreciated, and thank you in advance. =)
[/code]

Chill
Contributing Member
Contributing Member
Posts: 435
Joined: Fri May 07, 2004 5:06 pm
Location: Erie, PA

Post by Chill » Fri Oct 22, 2004 9:52 am

Just to make sure, you were in a group of 3 or more with a leader who had the HoTT LAA ability, right?

A_Druid_00
Macro Maker Extraordinaire
Posts: 2378
Joined: Tue Jul 13, 2004 12:45 pm
Location: Rolling on the Lawn Farting

Post by A_Druid_00 » Fri Oct 22, 2004 10:29 am

I was going to ask that exact same question, but then I thought to myself "Self, if you have to ask that question, you just might be opening a can of worms that you don't want to deal with"
[quote]<DigitalMocking> man, A_Druid_00 really does love those long ass if statements
<dont_know_at_all> i don't use his macro because i'm frightened of it[/quote]
[quote][12:45] <dont_know_at_all> never use a macro when you can really fuck up things with a plugin[/quote]

Excalibur
orc pawn
orc pawn
Posts: 15
Joined: Thu Oct 14, 2004 4:35 pm

Post by Excalibur » Fri Oct 22, 2004 12:35 pm

That may be the answer Chill. It has never crossed my mind. Thank you very much for the prompt reply =)