So i just saw somewere that positions in triggers always leak. is that true? i got this ability called arcane explosion, very simple:
-
arcane explosion
-
Events
-
Unit - A unit Begins casting an ability
-
-
Conditions
-
(Ability being cast) Equal to Arcane Explosion
-
-
Actions
-
Unit - Create 1 Dummy (arcane explosion) for (Owner of (Triggering unit)) at (Position of (Triggering unit)) facing Default building facing degrees
-
Unit - Add a 1.20 second Generic expiration timer to (Last created unit)
-
Unit - Set level of Arcane Explosion (Dummy) for (Last created unit) to (Level of Arcane Explosion for (Triggering unit))
-
Unit - Order (Last created unit) to Human Mountain King - Thunder Clap
-
-
-
arcane explosion
-
Events
-
Unit - A unit Begins casting an ability
-
-
Conditions
-
(Ability being cast) Equal to Arcane Explosion
-
-
Actions
-
Set Arcane_Position = (Position of (Triggering unit))
-
Unit - Create 1 Dummy (arcane explosion) for (Owner of (Triggering unit)) at Arcane_Position facing Default building facing degrees
-
Unit - Add a 1.20 second Generic expiration timer to (Last created unit)
-
Unit - Set level of Arcane Explosion (Dummy) for (Last created unit) to (Level of Arcane Explosion for (Triggering unit))
-
Unit - Order (Last created unit) to Human Mountain King - Thunder Clap
-
-
-
Custom script: call RemoveLocation(udg_Arcane_Position)