- Joined
- Jan 6, 2009
- Messages
- 100
As an RPG is populated almost entirely by heroes, and the fact that it's inevitable that one of those heroes will die, is it possible to resurrect heroes as you would resurrect a unit?
Doesn't work.
I think its impossible, because heroes don't leave a corpse.
Revive them Via Trigger
What if you change the "Combat - Death Type"?
That defines the properties the unit/building/hero's corpse has after it is killed. Determines whether it can be raised by abilities such as "Raise Skeleton" or "Animated Dead", and also whether it experiences natural decay or not.
Might be worth checking out ^^
(set it to "can raise, can decay" or something)
Unfortunatly, this doesn't work. The resurrection spell couldn't seem to find any corpses.
- Events
- Unit - A unit dies
- Conditions
- Borlean - Dying unit is a (Hero) equal to true
- Actions
- Hero - Revive (Dying Unit) at (Position of (Dying Unit))
Um.... Heroes do have corpses. When a hero dies, its body is hidden and moved to the edge of the map I rememeber reading and seeing. Thus why you should always remove heroes that will never be resurrected again.
Try moving the hero back to where it died and unhiding it.
theres an action in units called Move Unit
ap0calypse said:
- Set TempLoc = (Position of (Triggering unit))
- Wait X.XX seconds
- Unit - Move (Triggering unit) instantly to TempLoc
- Custom script: call RemoveLocation(udg_TempLoc)
Did you read the previous posts, or do you only read the first post and then reply?
Doesn't work.
I think its impossible, because heroes don't leave a corpse.
I couldn´t revive heroes around range for some reason,i did some mistake and i didnt see it...Hey ALiEN, sorry to disappoint you but I beat you to it and solved this problem 4-5 months ago 3 posts up I think. But I guess that it's a little different with mine only resurrecting the target hero whereas yours resurrect everyone in 1000 radius.
Also, can't you do the opposite and only conditionally pick heroes within 1000 radius because right now it resurrects every hero then kills them all unless nearby. Also this will waste mana if accidental cast and also need to fix so doesn't revive enemies. Other than that I guess it works
Hey ALiEN, sorry to disappoint you but I beat you to it and solved this problem 4-5 months ago 3 posts up I think. But I guess that it's a little different with mine only resurrecting the target hero whereas yours resurrect everyone in 1000 radius.
Also, can't you do the opposite and only conditionally pick heroes within 1000 radius because right now it resurrects every hero then kills them all unless nearby. Also this will waste mana if accidental cast and also need to fix so doesn't revive enemies. Other than that I guess it works
oh btw i found another loophole, the rez spell only can be targetted at the most recent "soul" created and it wont rez any previous dead heroes