- Joined
- May 12, 2015
- Messages
- 32
Lets say i set a point variable, then later set it again to another point and i remove it with custom scripts, will it leak? what if i do samiliar thing with hashtables?
Basically, does this leak:
Basically, does this leak:
-
Trig
-
Events
-
Unit - A unit Starts the effect of an ability
-
-
Conditions
-
Actions
-
Set TempLocation = (Position of (Triggering unit))
-
Unit - Create 1 Dummy for (Owner of (Triggering unit)) at TempLocation facing Default building facing degrees
-
Unit - Add a 2.00 second Generic expiration timer to (Last created unit)
-
Set TempLocation = (Position of (Target unit of ability being cast))
-
Unit - Create 1 Dummy for (Owner of (Triggering unit)) at TempLocation facing Default building facing degrees
-
Unit - Add a 2.00 second Generic expiration timer to (Last created unit)
-
Custom script: call RemoveLocation(udg_TempLocation)
-
-
-
Trig
-
Events
-
Unit - A unit Starts the effect of an ability
-
-
Conditions
-
Actions
-
Hashtable - Save ((Load 0 of (Key (Triggering Unit)) from Hashtable) + 1) as 0 of (Key (Triggering Unit)) in Hashtable
-
Wait 2.00 seconds
-
Hashtable - Save ((Load 0 of (Key (Triggering Unit)) from Hashtable) + 1) as 0 of (Key (Triggering Unit)) in Hashtable
-
Hashtable - Clear all child hashtables of child (Key (Triggering unit)) in Hashtable
-
-