
JASS:
method reset takes nothing returns nothing
call FlushStoredMission(gc,I2S(this))
endmethod
private method onDestroy takes nothing returns nothing
call FlushStoredMission(gc,I2S(this))
endmethod
Strange... destroy and reset would appear to do the *exact* same thing. So, if you are removing the Timer object, just destroy it, but if you want to keep the object and just empty it out, use .reset()
Table is probably most useful as a global. But you can still use it as a local. In both cases, you create a new table with
Table.create(), yes.
As for question three.... I don't think GetRandomInt() works the way you want it to...
__________________