- Joined
- Mar 15, 2007
- Messages
- 230
I have a spell in my map that is based on Entangling Roots called Void Cage. The difference though, is that if the entangled unit dies, I want it to spawn a new unit for the caster of said spell. My trigger is as follows:
My problem is that the trigger just plain does not work, and it won't spawn the unit for me, or display the special effects I've chosen. Any help is much appreciated. Thanks!
Code:
Void Cage Trigger
Events
Unit - A unit Dies
Conditions
((Dying unit) has buff Void Cage (Drow)) Equal to True
Actions
Unit - Create 1 Lost Soul (Drow) for (Owner of (Killing unit)) at (Position of (Dying unit)) facing Default building facing degrees
Special Effect - Create a special effect at (Position of (Last created unit)) using Void Teleport To.mdx
Special Effect - Destroy (Last created special effect)