Page 1 of 1
HUD spelltimer help
Posted: Sun Jul 27, 2008 12:08 pm
by kaos
snare=3,395,424,255,255,255,Darkness:
${SpellTimer[${Target.ID},All,"AURORAL darkness"]}
${SpellTimer[${Target.ID},All,"Embracing darkness"]} s
I use this in my HUD for my spell time on darkness(snare)
How do I make it not say 0 if the spell over, or not yet casted.It works perfect but I'd like to take out the 0's
Posted: Sun Jul 27, 2008 1:43 pm
by ieatacid
Posted: Sun Jul 27, 2008 7:23 pm
by kaos
Thanks, was playing around with it but am getting nothing.. was recommended to use
snare=3,395,424,255,255,255,${if[${SpellTimer[${Target.ID},other,"AURORAL darkness","Embracing darkness"]},Darkness: ${SpellTimer[${Target.ID},other,"AURORAL darkness","Embracing darkness"]},]}
But that blanks me out. However I did learn from that I can put both the spells in one statement and only get one 0 so I'm good from that.
Posted: Tue Jul 29, 2008 10:36 pm
by ZootSoot
kaos wrote:Thanks, was playing around with it but am getting nothing.. was recommended to use
snare=3,395,424,255,255,255,${if[${SpellTimer[${Target.ID},other,"AURORAL darkness","Embracing darkness"]},Darkness: ${SpellTimer[${Target.ID},other,"AURORAL darkness","Embracing darkness"]},]}
But that blanks me out. However I did learn from that I can put both the spells in one statement and only get one 0 so I'm good from that.
Code: Select all
${If[<Compare>,Text if true,Text If False]}
Take out the quotes
Posted: Fri Aug 01, 2008 9:40 pm
by Dabones
Might this work?
Code: Select all
TargetSnared=3,395,424,255,255,255,Snared = ${If[${Target.ID},${If[${SpellTimer[${Target.ID}.Stacks,any,"Festering Darkness"]}, YES ${SpellTimer[${Target.ID}.Stacks,any,"Festering Darkness"]},NO]},]}