Healing potions on hud

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

Moderator: MacroQuest Developers

eqcleric
a lesser mummy
a lesser mummy
Posts: 39
Joined: Mon Dec 10, 2007 12:54 pm

Healing potions on hud

Post by eqcleric » Sun Mar 09, 2008 1:30 pm

I have the following code in my mq2 hud so it displays the reuse timer of healing potions.

Code: Select all

//Healing potion
      HealPotionText=3,52,295,255,234,8,${If[${FindItem[=Distillate of Celestial Healing XIII].ID},Healing Potion ...,]}
      HealPotionReadyText= 3,140,295,0,255,0,${If[${FindItem[=Distillate of Celestial Healing XIII].ID},${If[${FindItem[=Distillate of Celestial Healing XIII].Timer},,Ready]},]}
      HealPotionNotReady=3,140,295,455,0,0,${If[${FindItem[=Distillate of Celestial Healing XIII].ID},${If[${FindItem[=Distillate of Celestial Healing XIII].Timer},${FindItem[=Distillate of Celestial Healing XIII].Timer.TimeHMS},]},]}
I carry XIII potions as well as lower potions, if i run out of XIII potions, the timer is no longer displayed, is there a way to put a variable in for the XIII so that it will reconize any Distillate of Celestial Healing potions and not just the XIII potions ?

deadchicken
a hill giant
a hill giant
Posts: 161
Joined: Thu Sep 28, 2006 1:00 pm

Post by deadchicken » Sun Mar 09, 2008 9:58 pm

[Distillate of Celestial Healing] instead of [=DoCH XIII], but it'll use the first type in inventory so you'll have to stack them right. That's what I do at least.
Agripa: So what you are saying is that MY code drives users insane and YOUR code drives the computer insane.

MareDK
a snow griffon
a snow griffon
Posts: 329
Joined: Mon Jan 31, 2005 12:01 pm

Post by MareDK » Thu Mar 27, 2008 10:14 am

they are on the same timer so doesn't matter really
[quote="dont_know_at_all"]Not implemented.[/quote]