TargetOfTarget-totally misunderstanding this?

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

Moderator: MacroQuest Developers

nightgod
a ghoul
a ghoul
Posts: 122
Joined: Sun Nov 02, 2003 4:39 am

TargetOfTarget-totally misunderstanding this?

Post by nightgod » Sun Apr 25, 2004 5:44 am

In the latest relase notes, we have::

spawn spawn.TargetOfTarget: Target of target (May only work in "Me": ${Me.TargetOfTarget.PctHps}, etc)

So why is

Code: Select all

   <Label item="Health_of_Targets_Target"> 
      <ScreenID>HealthofTargetTarget</ScreenID> 
      <EQType>9999</EQType> 
      <TooltipReference>${Me.TargetOfTarget.Name}</TooltipReference> 
      <Font>2</Font> 
      <RelativePosition>true</RelativePosition> 
      <Location> 
         <X>3</X> 
         <Y>54</Y> 
      </Location> 
      <Size> 
         <CX>90</CX> 
         <CY>14</CY> 
      </Size> 
      <Text>0</Text> 
      <TextColor> 
         <R>255</R> 
         <G>255</G> 
         <B>0</B> 
      </TextColor> 
      <NoWrap>true</NoWrap> 
      <AlignCenter>false</AlignCenter> 
      <AlignRight>false</AlignRight> 
      <AlignLeft>true</AlignLeft> 
   </Label> 
   <Label item="Health_of_Targets_Target_hp"> 
      <ScreenID>HealthofTargetTargethp</ScreenID> 
      <EQType>9999</EQType> 
      <TooltipReference>${Me.TargetOfTarget.CurrentHPs}</TooltipReference> 
      <Font>2</Font> 
      <RelativePosition>true</RelativePosition> 
      <Location> 
         <X>0</X> 
         <Y>54</Y> 
      </Location> 
      <Size> 
         <CX>114</CX> 
         <CY>14</CY> 
      </Size> 
      <Text>0</Text> 
      <TextColor> 
         <R>255</R> 
         <G>255</G> 
         <B>0</B> 
      </TextColor> 
      <NoWrap>true</NoWrap> 
      <AlignCenter>false</AlignCenter> 
      <AlignRight>true</AlignRight> 
      <AlignLeft>false</AlignLeft> 
   </Label> 
Not working in an UI?

Goofmester1
a hill giant
a hill giant
Posts: 241
Joined: Thu Nov 06, 2003 4:26 am

Post by Goofmester1 » Sun Apr 25, 2004 6:41 am

Maybe because you are asking for the exact hps of another thing in game and that never works?

Try <TooltipReference>${Me.TargetOfTarget.PctHPs}</TooltipReference>

morannon
a lesser mummy
a lesser mummy
Posts: 57
Joined: Sun Nov 03, 2002 3:50 pm

Post by morannon » Sun Apr 25, 2004 7:53 am

From what it seems to me,

/echo ${Me.TargetOfTarget.Name}

Gives NULL, *every* time -- unless I am in a group where the leader has the ToT ability.

It seems then (at least to me) that this field is only populated if the corresponding leader skills are in place.

nightgod
a ghoul
a ghoul
Posts: 122
Joined: Sun Nov 02, 2003 4:39 am

Post by nightgod » Sun Apr 25, 2004 11:48 am

Meh...that sucks...guess I'll need to save up the 7 LPs afterall =x

FrankJScott
a grimling bloodguard
a grimling bloodguard
Posts: 1436
Joined: Sun Feb 19, 2023 7:11 am

Best Product Guide

Post by FrankJScott » Tue Jan 30, 2024 9:59 pm

Please try Google before asking about Top Product Info 3ce3c8d