Q: How to unregister all timers?
Posted: Mon Jul 30, 2012 6:43 am
Is there a way to unregister all timers, even if i don't know their names and how many was registered?
MicroMacro home
https://www.solarstrike.net/phpBB3/
Code: Select all
function timerlist()
return timerList
end
Code: Select all
local tlist = {}
tlist = timerlist()
Code: Select all
Command> local tlist = {} tlist = timerlist() table.print(tlist)
table: 01384540
GMdetection: table: 04FA6748
time: 5000
func: function: 0144B820
args: table: 04FA6770
timedSetWindowName: table: 0404B870
time: 1000
func: function: 013EFD20
args: table: 0404B9D8
1: Charname
Code: Select all
registerTimer("timedSetWindowName", secondsToTimer(1), timedSetWindowName, load_profile_name);
Code: Select all
registerTimer("timedAttack", secondsToTimer(2), timedAttack);