Thread Tools Display Modes
Prev Previous Post   Next Post Next
09-19-10, 05:34 PM   #1
Ailae
A Rage Talon Dragon Guard
 
Ailae's Avatar
AddOn Author - Click to view addons
Join Date: Dec 2007
Posts: 318
SetCooldown questions

Hey all.

Is it possible to specify if some time has already passed when using SetCooldown?

I have a button you see, which I use to cast one of two buffs. I want to use the cooldown model as a timer to see how long is remaining. But I can't make the cooldown model reflect if time has already passed, like if I login and the buff is at 30 seconds and the total duration of it is 60 seconds, I'd like it to start at already half-filled.

Is this even possible? I noticed actionbars can use GetActionCooldown, but that only seems to work if you're using one of the 120 action-ids.

Any thoughts?

Thanks in advance.
__________________
Oh, the simulated horror!
  Reply With Quote
 

WoWInterface » Developer Discussions » Lua/XML Help » SetCooldown questions


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off