- Joined
- Dec 17, 2005
- Messages
- 337
I've downloaded the Leak Checker 1.3 but I've had some problems fixing my leaks.
This is the trigger:
Cinematic - Ping minimap for (All players) at (Center of TealStartArea <gen>) for 15.00 seconds
Set L = (Center of TealStartArea <gen>)
Custom script: Call RemoveLocation(udg_L)
What is wrong with this and how would I fix this point leak. Or does Leak Checker simply ignore leak fixes like these with jass scripting. I wrote exactly what it told me to write.
Variable L is a "point".
Also another leak:
Unit Group - Pick every unit in (Units of type Low Level Spawns) and do (Actions)
Loop - Actions
Unit - Remove (Picked unit) from the game
Custom script: Custom Script: bj_wantDestroyGroup = true
Unit Group - Pick every unit in (Units of type High Level Spawns) and do (Actions)
Loop - Actions
Unit - Remove (Picked unit) from the game
Custom script: Custom Script: bj_wantDestroyGroup = true
It says there were two leaks, I added both those scripts and then only 1 leak, yet they are exactly the same. Please, I need this help. Thank you in advance.
This is the trigger:
Cinematic - Ping minimap for (All players) at (Center of TealStartArea <gen>) for 15.00 seconds
Set L = (Center of TealStartArea <gen>)
Custom script: Call RemoveLocation(udg_L)
What is wrong with this and how would I fix this point leak. Or does Leak Checker simply ignore leak fixes like these with jass scripting. I wrote exactly what it told me to write.
Variable L is a "point".
Also another leak:
Unit Group - Pick every unit in (Units of type Low Level Spawns) and do (Actions)
Loop - Actions
Unit - Remove (Picked unit) from the game
Custom script: Custom Script: bj_wantDestroyGroup = true
Unit Group - Pick every unit in (Units of type High Level Spawns) and do (Actions)
Loop - Actions
Unit - Remove (Picked unit) from the game
Custom script: Custom Script: bj_wantDestroyGroup = true
It says there were two leaks, I added both those scripts and then only 1 leak, yet they are exactly the same. Please, I need this help. Thank you in advance.
Last edited: