I have some kind of an error... I'm trying to create a map with my friend, and, the problem is - when a unit dies, the other unit must get to the place, where it is, and, depending on that action, the unit must revive at the region...

-
ressurect
-
Events
-
Unit - Енкордо, Демон Подземелья 0015 <gen> Dies
-
Unit - Енкордо, Демон Подземелья 0050 <gen> Dies
-
-
Conditions
-
Actions
-
Special Effect - Create a special effect at (Position of (Triggering unit)) using buildings\undead\AltarOfDarkness\AltarOfDarkness.mdl
-
Wait 5.00 seconds
-
If (((Position of (Dying unit)) is visible to Player 11 (Dark Green)) Equal to True) then do (Hero - Instantly revive (Dying unit) at (Center of Vamp spawn <gen>), Hide revival graphics) else do (Do nothing)
-
Unit - Create 1 Acolyte for (Owner of (Triggering unit)) at (Center of Vamp spawn <gen>) facing Default building facing degrees
-
-
