• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Reviving bad guys

Status
Not open for further replies.
Level 3
Joined
Jun 6, 2004
Messages
50
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?
 

Dr Super Good

Spell Reviewer
Level 64
Joined
Jan 18, 2005
Messages
27,258
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.
 
Level 3
Joined
Jun 6, 2004
Messages
50
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.
 
Level 13
Joined
May 5, 2004
Messages
1,330
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)
 

Abc

Abc

Level 5
Joined
Apr 7, 2005
Messages
143
DarkShadow said:
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)

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.
 
Status
Not open for further replies.
Top