AddSpellTimer()
AddSpellTimer(int32 time, string function)
time = time, in milliseconds, when the function should be called
function = function to call when time has passed
Example:
Code: Select all
function cast(Caster, Target)
AddSpellTimer(2000, "TestFunction")
end
function TestFunction(Caster, Target)
Say(Caster, "Timer Test")
end
Let me know if this works for every one before I expand on it.