Problem is i know how to do. But not where to put the set variable thing. This is point variable right? So i make variable named point. And where do i put this set variable?
(Line: 88) (Word: 10) Location Leak
Camera - Pan camera for (Owner of (Picked unit)) to (Center of Revive Spawn CT <gen>) over 0.00 seconds
Camera - Pan camera for (Owner of (Picked unit)) to ^Leak
(Line: 97) (Word: 10) Location Leak
Camera - Pan camera for (Owner of (Picked unit)) to (Center of Revive Spawn T <gen>) over 0.00 seconds
Camera - Pan camera for (Owner of (Picked unit)) to ^Leak
Scan Complete
Location leaks: 2
Special Effect leaks: 0
Lightning leaks: 0
Unit Group leaks: 0
Player Group leaks: 0
Variables
Herorevivingspot[1] : (Line: 15) Location - Removed: Yes
Herorevivingspot[2] : (Line: 16) Location - Removed: Yes
Summary
Total Leaks: 2
Unremoved Variables: 0
Scan duration: 0 seconds
Total Lines Scanned: 104
Total Words Scanned: 622
Fixing Memory Leaks: http://world-editor-tutorials.thehelper.net/cat_usersubmit.php?view=27219
-
Hero DeathRespawn Timer expires
-
Events
-
Time - DeathTimer2 expires
-
Time - DeathTimer3 expires
-
Time - DeathTimer4 expires
-
Time - DeathTimer5 expires
-
Time - DeathTimer6 expires
-
Time - DeathTimer8 expires
-
Time - DeathTimer9 expires
-
Time - DeathTimer10 expires
-
Time - DeathTimer11 expires
-
Time - DeathTimer12 expires
-
-
Conditions
-
Actions
-
Set Herorevivingspot[1] = (Center of Revive Spawn T <gen>)
-
Set Herorevivingspot[2] = (Center of Revive Spawn CT <gen>)
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Remaining time for DeathTimer2) Less than 1.00
-
-
Then - Actions
-
Countdown Timer - Hide DeathTimerWindow[2]
-
-
Else - Actions
-
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Remaining time for DeathTimer3) Less than 1.00
-
-
Then - Actions
-
Countdown Timer - Hide DeathTimerWindow[3]
-
-
Else - Actions
-
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Remaining time for DeathTimer4) Less than 1.00
-
-
Then - Actions
-
Countdown Timer - Hide DeathTimerWindow[4]
-
-
Else - Actions
-
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Remaining time for DeathTimer5) Less than 1.00
-
-
Then - Actions
-
Countdown Timer - Hide DeathTimerWindow[5]
-
-
Else - Actions
-
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Remaining time for DeathTimer6) Less than 1.00
-
-
Then - Actions
-
Countdown Timer - Hide DeathTimerWindow[6]
-
-
Else - Actions
-
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Remaining time for DeathTimer8) Less than 1.00
-
-
Then - Actions
-
Countdown Timer - Hide DeathTimerWindow[8]
-
-
Else - Actions
-
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Remaining time for DeathTimer9) Less than 1.00
-
-
Then - Actions
-
Countdown Timer - Hide DeathTimerWindow[9]
-
-
Else - Actions
-
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Remaining time for DeathTimer10) Less than 1.00
-
-
Then - Actions
-
Countdown Timer - Hide DeathTimerWindow[10]
-
-
Else - Actions
-
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Remaining time for DeathTimer11) Less than 1.00
-
-
Then - Actions
-
Countdown Timer - Hide DeathTimerWindow[11]
-
-
Else - Actions
-
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Remaining time for DeathTimer12) Less than 1.00
-
-
Then - Actions
-
Countdown Timer - Hide DeathTimerWindow[12]
-
-
Else - Actions
-
-
Unit Group - Pick every unit in RevivableHeroes and do (Actions)
-
Loop - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Remaining time for ReviveTimers[(Player number of (Owner of (Picked unit)))]) Less than 1.00
-
-
Then - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
((Owner of (Picked unit)) is in TeamCT) Equal to True
-
-
Then - Actions
-
Hero - Instantly revive (Picked unit) at Herorevivingspot[2], Show revival graphics
-
Camera - Pan camera for (Owner of (Picked unit)) to (Center of Revive Spawn CT <gen>) over 0.00 seconds
-
Unit Group - Remove (Picked unit) from RevivableHeroes
-
Custom script: call RemoveLocation (udg_Herorevivingspot[2])
-
-
Else - Actions
-
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
((Owner of (Picked unit)) is in TeamT) Equal to True
-
-
Then - Actions
-
Hero - Instantly revive (Picked unit) at Herorevivingspot[1], Show revival graphics
-
Camera - Pan camera for (Owner of (Picked unit)) to (Center of Revive Spawn T <gen>) over 0.00 seconds
-
Unit Group - Remove (Picked unit) from RevivableHeroes
-
Custom script: call RemoveLocation (udg_Herorevivingspot[1])
-
Custom script: call RemoveLocation (udg_Cam_Point_1)
-
Custom script: call RemoveLocation (udg_Cam_Point_2)
-
-
Else - Actions
-
-
-
Else - Actions
-
-
-
-
-
(Line: 88) (Word: 10) Location Leak
Camera - Pan camera for (Owner of (Picked unit)) to (Center of Revive Spawn CT <gen>) over 0.00 seconds
Camera - Pan camera for (Owner of (Picked unit)) to ^Leak
(Line: 97) (Word: 10) Location Leak
Camera - Pan camera for (Owner of (Picked unit)) to (Center of Revive Spawn T <gen>) over 0.00 seconds
Camera - Pan camera for (Owner of (Picked unit)) to ^Leak
Scan Complete
Location leaks: 2
Special Effect leaks: 0
Lightning leaks: 0
Unit Group leaks: 0
Player Group leaks: 0
Variables
Herorevivingspot[1] : (Line: 15) Location - Removed: Yes
Herorevivingspot[2] : (Line: 16) Location - Removed: Yes
Summary
Total Leaks: 2
Unremoved Variables: 0
Scan duration: 0 seconds
Total Lines Scanned: 104
Total Words Scanned: 622
Fixing Memory Leaks: http://world-editor-tutorials.thehelper.net/cat_usersubmit.php?view=27219