HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Single Target Raise Dead

04-23-2007, 05:50 AM#1
Dil999
Is it possible to 'Raise' a single targeted corpse? Ive tried creating a dummy on the corpse and having it use animate dead, but that doesn't seem to work. I don't care how it works, as long as the chosen unit is back alive with the summoned classification, so it only lasts X seconds and takes more damage from stuff like wans of dispel.
04-23-2007, 09:59 AM#2
Zwan
well, there is a trigger action that can add the summoned classification to the unit once it's raised.

Trigger:
Unit - Add classification of Summoned to (Picked unit)

this is a stab in the dark, but you can try it. Animate dead has a field that sets the number of corpses raised, I assume you've already set it to 1.


Trigger:
Corpse
Collapse Events
Unit - A unit Dies
Collapse Conditions
((Dying unit) is A Hero) Equal to False
Collapse Actions
Unit - Add classification of Summoned to (Dying unit)
04-24-2007, 02:26 AM#3
Conquestor
Quote:
Originally Posted by Dil999
Is it possible to 'Raise' a single targeted corpse? Ive tried creating a dummy on the corpse and having it use animate dead, but that doesn't seem to work. I don't care how it works, as long as the chosen unit is back alive with the summoned classification, so it only lasts X seconds and takes more damage from stuff like wans of dispel.

Trigger:
Raise
Collapse Events
Unit - A unit Begins casting an ability
Collapse Conditions
(Ability being cast) Equal to Raise Dead
Collapse Actions
Unit - Change ownership of (Target unit of ability being cast) to (Owner of (Casting unit)) and Change color
Unit - Replace (Target unit of ability being cast) with a (Unit-type of (Target unit of ability being cast)) using The new unit's default life and mana
Unit - Add classification of Summoned to (Last replaced unit)
Unit - Add a 13.00 second Summoned Unit expiration timer to (Last replaced unit)

Should work. Can't test it right now.
04-24-2007, 02:35 AM#4
Dil999
Hm.. never thought about raise dead. Anyways, I did it by removing the corpse and creating a unit type of picked unit, then just adding a timer and summoned classification.
Thanks for the help anyways Conquestor.
04-24-2007, 02:40 AM#5
Rising_Dusk
You can't "click a corpse" as a target.
It just does not work.

You can target an area and then do stuff to a random corpse in the area though.
Getting the perfect corpse detection method is very hard though, and not something easily achievable in GUI.
I'd suggest just grouping dead units in the area and making sure the count > 1, then pick one randomly and trigger the reanimate effect on it.
04-24-2007, 03:12 AM#6
Dil999
I got it by picking units one by one in an area, and using the closest.
My ability doesn't really need to target a single unit, as it is a shockwave like spell which resurrects allied units who are hit by it. It needed to work for a single target because i set a limit to how many units can be revived.