Go
Wc3C.net
»
Warcraft III Modding
»
Developer's Corner
»
Triggers & Scripts
»
(DestroyAll_Timers) -> help!
(DestroyAll_Timers) -> help!
07-14-2006, 08:44 PM
#1
Freakazoid
Is there a script that can destroy all timers at once ? ? ?
07-14-2006, 08:45 PM
#2
DioD
Easy, save timers to array on creation
07-14-2006, 08:48 PM
#3
Freakazoid
Quote:
Originally Posted by
DioD
Easy, save timers to array on creation
Tried that but it leaks, maybe I should try it again.
07-14-2006, 08:51 PM
#4
iNfraNe
Why would it leak... if you destroy them after you use themm...
And no there's no garbage collection in warcraft.
07-14-2006, 08:54 PM
#5
DioD
First
Pause timers before destroying
Set null to array slot
07-14-2006, 09:07 PM
#6
shadow1500
You dont have to null the timers if they are globals.
BTW Freakazoid, whats the point of your sig?
07-15-2006, 12:14 PM
#7
iNfraNe
And nulling timers is also bugged?
07-15-2006, 10:40 PM
#8
Freakazoid
Quote:
Originally Posted by
shadow1500
You dont have to null the timers if they are globals.
BTW Freakazoid, whats the point of your sig?
Aray made it, ask him ! ! !
Nevermind got it to work.