Here are my triggers. What is leaking and how do I fix them?
-
Dash Knockback
-
Events
-
Unit - A unit Starts the effect of an ability
-
-
Conditions
-
(Ability being cast) Equal to Dash
-
-
Actions
-
Set maxIndexDash = (maxIndexDash + 1)
-
Set casterUnitsIndexDash[maxIndexDash] = (Triggering unit)
-
Set targetUnitsIndexDash[maxIndexDash] = (Target unit of ability being cast)
-
Set locationUnitsIndexDash[maxIndexDash] = (Position of casterUnitsIndexDash[maxIndexDash])
-
Set timeLeftDash[maxIndexDash] = 9
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
maxIndexDash Equal to 1
-
-
Then - Actions
-
Trigger - Turn on Dash Push <gen>
-
-
Else - Actions
-
-
-
-
Dash Push (Initially Off)
-
Events
-
Time - Every 0.03 seconds of game time
-
-
Conditions
-
Actions
-
For each (Integer tempInt) from 1 to maxIndexDash, do (Actions)
-
Loop - Actions
-
Unit - Move targetUnitsIndexDash[tempInt] instantly to ((Position of targetUnitsIndexDash[tempInt]) offset by 8.00 towards (Facing of casterUnitsIndexDash[tempInt]) degrees)
-
Set timeLeftDash[tempInt] = (timeLeftDash[tempInt] - 1)
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
timeLeftDash[tempInt] Equal to 0
-
-
Then - Actions
-
Set casterUnitsIndexDash[tempInt] = casterUnitsIndexDash[maxIndexDash]
-
Set casterUnitsIndexDash[tempInt] = No unit
-
Set targetUnitsIndexDash[tempInt] = targetUnitsIndexDash[maxIndexDash]
-
Set targetUnitsIndexDash[maxIndexDash] = No unit
-
Set timeLeftDash[tempInt] = timeLeftDash[maxIndexDash]
-
Set timeLeftDash[maxIndexDash] = 0
-
Set maxIndexDash = (maxIndexDash - 1)
-
Set tempInt = (tempInt - 1)
-
-
Else - Actions
-
-
-
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
maxIndexDash Equal to 0
-
-
Then - Actions
-
Trigger - Turn off (This trigger)
-
-
Else - Actions
-
-
-