Animated timers using Geyser
Re: Animated timers using Geyser
Thanks! I'm always happy to hear the stuff I've written has been found useful by someone. =)
Re: Animated timers using Geyser
Added a line (the first one) to one of the functions, to prevent errors if the timer hasn't been initialised for the first time yet:
Edit: incidentally, thanks so much for this script. I'd been trying to create my own version for years, and now that I have it, I'm using them for all sorts of things. I've got my balances, my target's balances, and various other ticks like howls/roars, all synced and stacked on top of each other in prime screen-space.
Re: Animated timers using Geyser
Glad you're finding it useful! Though really, I just found something someone else had done, dusted it off, and bolted some bits on to make it a bit easier to use.
Re: Animated timers using Geyser
Any way to make this work instead of showing the number count down, just show a word?
otherwise its pretty nice and I've put it into my imperian system
otherwise its pretty nice and I've put it into my imperian system
Re: Animated timers using Geyser
Updated with a new option for adding words to the text it shows.
it's between the showTime and css options, so if you're using css you'll need to adjust your calls if you update the code.
the code for the demo in the original post therefore becomes:
it's between the showTime and css options, so if you're using css you'll need to adjust your calls if you update the code.
the code for the demo in the original post therefore becomes:
Re: Animated timers using Geyser
2 quick updates.
2.2 - adds :pause(name), and :start(name) functionality, but leaves the :new() syntax the same
3.0 - adds :pauseAll(), :stopAll(), :startAll(), :destroy(name), and :destoryAll() functions. Also rewrote the constructor to be more like my align() series of functions. This makes it easier to add options to the constructor as needed.
2.2 - adds :pause(name), and :start(name) functionality, but leaves the :new() syntax the same
3.0 - adds :pauseAll(), :stopAll(), :startAll(), :destroy(name), and :destoryAll() functions. Also rewrote the constructor to be more like my align() series of functions. This makes it easier to add options to the constructor as needed.
Re: Animated timers using Geyser
Hi. I'm trying to pass a variable from a trigger to the gauge and its not working.
I have a perl regex trigger to capture the number.
I have a perl regex trigger to capture the number.
And here is the rest of the script. Its failing to initialize a timer at all. How do I pass a variable to start a timer?
Re: Animated timers using Geyser
You're passing a string instead of an actual number. Try changing the variable line to:
Re: Animated timers using Geyser
Aha! That worked. I knew it had something to do with being a string but I wasn't sure how to deal with it.
Now I know, and knowing, is half the battle.
Go Joe!
Now I know, and knowing, is half the battle.
Go Joe!
Re: Animated timers using Geyser
I'm a real nub when it comes to this stuff so please bare with me....
How would I set up a bar to activate with a sample command? For example, I would like a 90 count down bar to start when I type in command 'X".
I'm sure it's simple, I just don't know where to start.
How would I set up a bar to activate with a sample command? For example, I would like a 90 count down bar to start when I type in command 'X".
I'm sure it's simple, I just don't know where to start.