I want it so when i cast a spell such as silence on a target ...my dummy pops up near the target and casts fan of knives...but for some reason it only works when i have the Create unit at (position of casting unit)...any suggestions?
Create dummy Copy
Events
Unit - A unit Begins casting an ability
Conditions
(Ability being cast) Equal to aoe nuke test
Actions
Unit - Create 1 dummy 2! for (Owner of (Casting unit)) at (Position of (Target unit of ability being cast)) facing (Center of (Playable map area))
Set dummy2 = (Last created unit)
Wait 0.30 seconds
Unit - Add Ranged fan of kNives to dummy2
Wait 0.30 seconds
Unit - Order dummy2 to Night Elf Warden - Fan Of Knives
Wait 0.25 seconds
Unit - Remove Ranged fan of kNives from dummy2
Wait 0.25 seconds
Unit - Remove dummy2 from the game
Create dummy Copy
Events
Unit - A unit Begins casting an ability
Conditions
(Ability being cast) Equal to aoe nuke test
Actions
Unit - Create 1 dummy 2! for (Owner of (Casting unit)) at (Position of (Target unit of ability being cast)) facing (Center of (Playable map area))
Set dummy2 = (Last created unit)
Wait 0.30 seconds
Unit - Add Ranged fan of kNives to dummy2
Wait 0.30 seconds
Unit - Order dummy2 to Night Elf Warden - Fan Of Knives
Wait 0.25 seconds
Unit - Remove Ranged fan of kNives from dummy2
Wait 0.25 seconds
Unit - Remove dummy2 from the game