- Joined
- May 22, 2010
- Messages
- 362
Does this trigger leak and how do I fix the leaks?
-
MultiShot1
-

Events
-


Unit - A unit Starts the effect of an ability
-
-

Conditions
-


(Ability being cast) Equal to Multi Shot
-
-

Actions
-


Set CastingUnit = (Casting unit)
-


Set Location1 = (Position of CastingUnit)
-


Unit - Create 1 MultiShot (Dummy) for (Owner of CastingUnit) at Location1 facing ((Facing of CastingUnit) + (Random real number between 10.00 and 25.00)) degrees
-


Unit - Add a 0.60 second Generic expiration timer to (Last created unit)
-


Unit - Set level of Multi Shot SUP for (Last created unit) to (Level of Multi Shot for CastingUnit)
-


Custom script: call RemoveLocation(udg_Location1)
-


Set Location1 = (Position of (Last created unit))
-


Set Location2 = (Location1 offset by 256.00 towards (Facing of (Last created unit)) degrees)
-


Unit - Order (Last created unit) to Undead Dreadlord - Carrion Swarm Location2
-


Custom script: call RemoveLocation(udg_Location1)
-


Custom script: call RemoveLocation(udg_Location2)
-
-


Sorry about the multiple questions I am trying to learn about leaks.


