- Joined
- Nov 5, 2008
- Messages
- 536
-
cast2
-
Events
-
Unit - A unit Starts the effect of an ability
-
-
Conditions
-
(Ability being cast) Equal to Call of the Damned
-
-
Actions
-
Set CallofDamnedPoint = (Target point of ability being cast)
-
Set CallofDamnedGroup = (Units within 300.00 of CallofDamnedPoint)
-
Unit Group - Pick every unit in CallofDamnedGroup and do (Actions)
-
Loop - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
((Picked unit) is dead) Equal to True
-
-
Then - Actions
-
Unit - Change ownership of (Picked unit) to (Owner of (Triggering unit)) and Change color
-
-
Else - Actions
-
-
-
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Unit-type of (Picked unit)) Equal to Legion Corpse
-
-
Then - Actions
-
Unit - Remove (Picked unit) from the game
-
-
Else - Actions
-
-
Unit - Create 1 Dummy Ressurect for (Owner of (Triggering unit)) at CallofDamnedPoint facing Default building facing degrees
-
Unit - Add a 3.00 second Generic expiration timer to (Last created unit)
-
Unit - Order (Last created unit) to Human Paladin - Resurrection
-
-
I have this trigger. It targets an area and a dummy unit is spawned and casts ressurection and ressurects units within the area.
I have an unit called Legion. When Legion dies, they drop no visible corpse so I have a trigger that spawns a "Legion corpse" when a Legion dies.
That unit looks like a flame and it shows where the dead Legion is so the ressurection-spell knows where to target.
But for some reason, the Legion Corpses are not removed by the spell.
What am I doing wrong?
(Thanks to Child_Of_Bodom for the trigger)