View Single Post
Old 01-07-06, 08:20 PM   #19
Needy
A Defias Bandit
Join Date: Jan 2006
Posts: 2
I realized that the event script i made didnt work because somehow I couldnt find the right trigger.
script:
local e, f, g = GetSpellCooldown(48, SpellBookFrame.bookType);if (f <= 0) then
SaveSet()
EquipSet()
end

works when i made it into a macro and test it.

somehow it just wont trigger, i tried many events, just wont work.

If you could help me on what event trigger to use which fires when your cooldown ends, that would be great.

I tried
SPELL_UPDATE_USABLE
ACTIONBAR_UPDATE_USABLE
ACTIONBAR_UPDATE_COOLDOWN

for some reason they dont fire when my cooldown ends, I tested it wit spell 47 which is my stealth, which should change to the set when my 10s cooldown of stealth ends. (I stealth and unstealth, which brings 10s CD on the spell, then waited it out the 10s, nothing happened.)

I also tried delay set to 0.5 and 0 and 1 s
Needy is offline   Reply With Quote