Hud Buff Timer question

Need help running MacroQuest2? Ask your questions about how to get things to work on your computer.

Moderator: MacroQuest Developers

JimJohnson
a grimling bloodguard
a grimling bloodguard
Posts: 1299
Joined: Sat Oct 11, 2003 6:00 am

Hud Buff Timer question

Post by JimJohnson » Mon Jul 05, 2004 8:09 pm

whats wrong with this Hud buff code for timer / name?

Code: Select all

Buff1 =3,5,315,0,255,0,1 - ${If[${Me.Buff[1].Duration}>;5,${Me.Buff[1]},]} 
Buff1 =3,5,315,255,0,0,1 - ${If[${Me.Buff[1].Duration}<;5,${Me.Buff[1]},]} 
Buff1Timer =3,140,315,255,255,0,${If[${Me.Buff[1].Duration}>;5,${Me.Buff[1].Duration.Time},]}  
Buff1Timer =3,140,315,255,0,0,${If[${Me.Buff[1].Duration}<;5,${Me.Buff[1].Duration.Time},]} 

User avatar
CuddleBunny
orc pawn
orc pawn
Posts: 23
Joined: Sun Feb 22, 2004 10:23 pm

Post by CuddleBunny » Mon Jul 05, 2004 9:13 pm

Try to give every element an own name, then it "might" work :roll:

wassup
Official Guardian and Writer of TFM
Official Guardian and Writer of TFM
Posts: 1487
Joined: Sat Oct 26, 2002 5:15 pm

Post by wassup » Mon Jul 05, 2004 9:49 pm

Might want to fix these too:
You have semi-colons in there that doesn't belong

Code: Select all

Buff1Timer =3,140,315,255,255,0,${If[${Me.Buff[1].Duration}>;5,${Me.Buff[1].Duration.Time},]}
Hrmmm... color is not working in code statements... it's in

Code: Select all

${Me.Buff[1].Duration}>;5

JimJohnson
a grimling bloodguard
a grimling bloodguard
Posts: 1299
Joined: Sat Oct 11, 2003 6:00 am

Post by JimJohnson » Tue Jul 06, 2004 12:37 am

was someone elses hud they posted just was trying to figure out why didnt work.. went about doing it diffrent. thanks anyways

Drumstix42
a grimling bloodguard
a grimling bloodguard
Posts: 808
Joined: Mon May 03, 2004 4:25 pm

Post by Drumstix42 » Tue Jul 06, 2004 12:54 pm

Is this statement legit?

Code: Select all

${Me.Buff[1].Duration}>5
If so, is that greater than 5 minutes? seconds?

Digitalxero
a ghoul
a ghoul
Posts: 129
Joined: Tue Sep 10, 2002 5:01 pm

Post by Digitalxero » Tue Jul 06, 2004 5:38 pm

Drumstix42 wrote:Is this statement legit?

Code: Select all

${Me.Buff[1].Duration}>5
If so, is that greater than 5 minutes? seconds?

Code: Select all

${If[${Me.Buff[1].Duration}>5,True,False]}
and it is ticks or 1/10th of a sec

Synndic
orc pawn
orc pawn
Posts: 28
Joined: Sat Aug 09, 2003 9:51 am

Post by Synndic » Thu Jul 08, 2004 6:47 am

Duration returns the number of ticks I believe. I actually placed my buff timers directly along side the buff themselves.

On a similar problem with the hud
What is Harm Touch classified as? I have my Hud showing up Forage when the ability becomes ready, but Harm Touch doesn't seem to be classified as one.

Code: Select all

 ForageTimer=3,5,40,255,255,0,${If[${Me.AbilityReady[Forage]},FORAGE,]}
 HarmTouchTimer=3,5,52,255,255,0,${If[${Me.AbilityReady[Harm Touch]},HARM TOUCH,]}

Lax
We're not worthy!
We're not worthy!
Posts: 3524
Joined: Thu Oct 17, 2002 1:01 pm
Location: ISBoxer
Contact:

Post by Lax » Thu Jul 08, 2004 1:28 pm

Correct, HT is not a skill (e.g. you do not have 225 in Harm Touch). It's a class-based Innate (and also an alt ability when you get Improved HT, which is a lot easier to have the timer for). LoH and HT are on alternate timers which are not currently supported in MQ, if I remember correctly...
Lax Lacks
Master of MQ2 Disaster
Purveyor of premium, EULA-safe MMORPG Multiboxing Software
* Multiboxing with ISBoxer: Quick Start Video
* EQPlayNice, WinEQ 2.0

FrankJScott
naggy
naggy
Posts: 2350
Joined: Sun Feb 19, 2023 7:11 am

Excellent Product Blog

Post by FrankJScott » Mon Dec 04, 2023 9:07 am

Please try Google before asking about Excellent Product Tips 9f252a1

FrankJScott
naggy
naggy
Posts: 2350
Joined: Sun Feb 19, 2023 7:11 am

Best Business Massage Site

Post by FrankJScott » Thu Dec 14, 2023 5:27 pm

For the person talking about massage envy lloyd center, promoting massage therapy business, massage business llc, massage therapy business, premier massage llc, llc for massage therapy, master's touch massage therapy llc, open massage shop, massage nearby open, mobile massage vans, massage essex road, whitfords massage, massage shop open, it's really massage llc, sports massage business plan, successful massage business, opening up a massage therapy business, the medical massage clinic of durham llc, bespoke massage llc, loan's massage, I recommend this 경기도출장마사지 for mobile massage business for sale, chinese medical massage & saloon, the massage clinic inc, marketing massage business ideas, foot spa business, atticus massage envy, massage therapy start up costs, hands that heal massage studio, massage & co, independent mobile massage therapist, platinum business center massage, coming home massage and more llc, mobile massage king, marketing massage therapy, thai serenity spa llc, albany professional massage, massage solutions llc, best mobile massage, serenity mobile massage, massage therapy clinic for sale, also. See More Excellent Business Massage Tips b86b3ce