| 03-02-2004, 02:26 PM | #1 |
In a map i'm making i want to be able to put all units dead into a unit group then every so seconds or so they get revived... how? i can't find a revive trigger. |
| 03-02-2004, 02:32 PM | #2 |
The only possible way is to have some hidden place with a unit that casts ressurection when units come to that rect, make a ressurection with bigger target number and 0 mana cost / cooldown. |
| 03-02-2004, 04:40 PM | #3 | |
Quote:
Okay.. I was getting into a big explanation of what to do, but I have a better idea. Remove the dead body and Create a new unit of the same type in its place -- ta da! |
| 03-03-2004, 02:26 PM | #4 |
There is a big difference between reviving the units and replacing the corpses with new units. |
| 03-03-2004, 07:03 PM | #5 | |
Quote:
Unless they are heroes, then there shouldn't be much difference...as long as you save the unit before it dies (or as it dies) in a variable. In that sense you virtually ARE ressurecting them. Just make sure you use the same special effect (or a new one if you like) as the revive spell. |
| 03-03-2004, 07:33 PM | #6 |
well, u can always use a trigger to delay the decaying of the corpse |
| 03-04-2004, 01:31 PM | #7 | |
Quote:
In fact there are a lot of things that make ressurecting different from recreating, first of all added abilities will get lost, secondly if you had the unit in a variable / unit group it will mess, and also custom vertex coloring and scale will get lost, but in certain situations removing and creating the unit could work. |
