- Joined
- Sep 11, 2013
- Messages
- 557
Greetings!
I have this tower that has a passive ability that casts chain lightning on the damage target with the help of a dummy that spawns in the middle of the damage target.
The problem is that, the dummy remain behind the moving damage target and the chain lightning effect remain also behind the damage target and is very unaesthetic.
Is there a way to stick the dummy together with the damage target at least for 2 seconds (until the lightning effect disappear)?
This spell must remain MUI because I have many towers and many dragons in my map.
***I don't want to spawn the dummy on the top of the tower.
I am in search for an easy solution. If there is no easy solution, i'll abandon this problem..
Here is a video with the problem.

I have this tower that has a passive ability that casts chain lightning on the damage target with the help of a dummy that spawns in the middle of the damage target.
The problem is that, the dummy remain behind the moving damage target and the chain lightning effect remain also behind the damage target and is very unaesthetic.
Is there a way to stick the dummy together with the damage target at least for 2 seconds (until the lightning effect disappear)?
This spell must remain MUI because I have many towers and many dragons in my map.
***I don't want to spawn the dummy on the top of the tower.
I am in search for an easy solution. If there is no easy solution, i'll abandon this problem..
Here is a video with the problem.
-
Lightning Surge
-

Events
-


Unit - A unit Takes damage
-
-

Conditions
-


(Unit-type of (Damage source)) Equal to Anti-Air Tower Ultimate
-


(Random integer number between 1 and 100) Less than or equal to 75
-
-

Actions
-


Set VariableSet LightningSurgePoint = (Position of (Damage Target))
-


Unit - Create 1 Wisp Lightning Surge Dummy for (Owner of (Damage source)) at LightningSurgePoint facing (Position of (Damage Target))
-


Custom script: call RemoveLocation(udg_LightningSurgePoint)
-


Set VariableSet LightningSurgeDummy = (Last created unit)
-


Unit - Add a 2.00 second Generic expiration timer to LightningSurgeDummy
-


Unit - Add Chain Lightning - Lightning Surge ZZZ Dummy to LightningSurgeDummy
-


Unit - Grant shared vision of (Damage Target) to (Owner of (Damage source))
-


Unit - Order LightningSurgeDummy to Orc Far Seer - Chain Lightning (Damage Target)
-


Unit - Deny shared vision of (Damage Target) to (Owner of (Damage source))
-
-


