simple spell counter

Posted by Design on Mon 10 Dec 2012 03:20 AM — 4 posts, 17,854 views.

#0
Hi

I need some basic lua. Looking at some help to bring out a small mini window (really small one) just to display a realtime countdown , and will reset upon input from MUD (trigger).

So 2 states for timer.

1) Counting down from a fixed number say 100 every time a trigger occurs
2) Counter goes to zero every time a trigger occurs

This case I can know if a spell is going to be worn off and prepare to cast again without having to keep checking via input to MUD.

Thanks in advance.
Australia Forum Administrator #1
This button-bar with cooldowns might give you some ideas:

http://www.gammon.com.au/forum/?id=9359
#2
Hi, appreciate your prompt reply. I took a look, it is somewhat more than what i am expecting. I just need a line for example "aura - 06:20" .

Also I am not really looking for a cool down sort of timer, which in this case I presume would require MUD input to know the cool of time.

My case is more of the effect of a particular spell which has a fixed duration every time cast.

I know they are somewhat similar but I feel it is different as in my case I do not require any MUD in put but just a stand alone counter to start the countdown everytime a trigger occurs.

If possible do point me to the right direction. Thank you.
Australia Forum Administrator #3
What I pointed to you just starts a timer, coded into the script. I thought that was what you were talking about.