Warcraft III resources & community, 2003–2006 · archived

Reviving bad guys

7 posts
#1

Reviving bad guys

I wonder how I revive enemies. I'm making an rpg-map and I succeded to make one unit revive every 20 second. Though I need to make all dead units revive. How do I do this?
#2
hmm plz write a little more detail...
#3
I think he means respawn like that, that is used in RPGs like world of warcraft reborn. In thoughs units that die come back to life after 30 seconds (not heros).

I think there are some in the spell section otherwise try opening the map World of Warcraft reborn available in the maps section.
#4
That map was protected so I can't open it.

What I need is a trigger that makes all dead neutral hostile to be revived (or simular) 20 seconds after they die.
Got a trigger that only works on last killed unit, but I need on all.
#5
Event
A Unit Dies

Condition
[Owner of[Dying Unit]] Equal To Neutral Hostile

Actions
Wait 20 secs
Create 1 [Unit-Type of Dying Unit] at position of [Dying Unit]

That's the most simple way. If you want a more professional one, check the JASS-section (you need some knowledge in JASS to use those functions there)
#6
DarkShadowEvent
A Unit Dies

Condition
[Owner of[Dying Unit]] Equal To Neutral Hostile

Actions
Wait 20 secs
Create 1 [Unit-Type of Dying Unit] at position of [Dying Unit]

That's the most simple way. If you want a more professional one, check the JASS-section (you need some knowledge in JASS to use those functions there)


Thats how i did it in my map, but there is a disadvantage, if u kill several units at the same place they revive there.
#7
Thank you DarkShadow. I will try that.