HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Corpses come to life!

10-02-2003, 03:37 PM#1
Nights57
I'm making a Open Rpg, and when you kill the monsters I want them to get back up after a while, like after 30 seconds or so..

I've toyed around, but it seems like for this to work I'd have to go through and select each and every unit..Is there an easier way to go about this?
10-02-2003, 04:08 PM#2
Zachary_Shadow
Event:
A unit dies

Cond:
Unit equal to Footman

Action:
wait 30 seconds
create Zombie at location of dying unit

This should work...try it out, and have like 5 footmen die in a row, to see if the trigger messes up..

But I think this will work :)
10-02-2003, 04:14 PM#3
Zachary_Shadow
hehe, misunderstood what you were saying :P U mean a respawn trigger?

Not totaly sure how to do that :P
10-02-2003, 04:21 PM#4
Spellmaker
i'm office and i cant check the WE right now, but you can try some thing like this:

- event
a unit die

- condition (boolean)
owner of (triggering) unit equal neutral hostile is true

- action
wait 30 seg
remove triggering unit
create a unit of type (triggering unit) at location of (triggering unit)


another way, you can set ever unit as hero and give a reincarnation ability with 30seg delay
10-02-2003, 08:46 PM#5
icerevenant
give them an edited reincarnation.
10-02-2003, 09:08 PM#6
Nights57
Well, I wanted like you kill a footmen, and after a while the footmen would just get back up, like a respawn.

But I think I can edit Zachary's trig to get it to work...Thanks
10-02-2003, 09:16 PM#7
Dragon
Here is the exact trigger:

E- A unit dies
C- Unit's owner equal to Neutral Hostile
A- Wait 30 seconds
Create 1 dieing unit* at position of dieing unit

*Note: Don't put a unit here, keep this at "Dieing Unit"

This will ressurect all Neutral Hostile units that die 30 seconds after they die