HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Need help with Death of units

10-16-2002, 02:47 PM#1
Guest
I just cant seem to find the trigger commands that decides what happens to units after they die, like turning their corpses into skels or zombies and or respawn.

Can anyone point me out to the right events, conditions and actions needed plz ?. any help or advice would be much apreciated.

Ive tried making a specific Unit dying and no go, is there a way to make it a normal game habit so it works for all units ?.
10-16-2002, 03:21 PM#2
Zedric
Event - Unit owned by Player dies

Action - Replace (Event Response - Dying Unit) with (Whatever - Zomies, Skellies)



OR

Action - Create (Unit) at Point (Pos of (Dying Unit))
10-16-2002, 10:46 PM#3
Guest
Thx Zedric, that helped alot :D
10-17-2002, 12:49 AM#4
Guest
ok, I got the units to be replaced after death by whatever, but if i were to be making say a night of the living dead type scene. If zombies were to kill villagers, how would I make their corpses turn into zombies rather then they just appearing out of the blue.

triggers ive tried looks like this atm and its not working.

Unit - A units owned by player Decays

or
Unit - Villager decays

Action - create 1 zombie (event response - decaying unit) at position of decaying unit

or
Action - replace (event response - decaying unit) with zombie using new unit's default life, mana.
10-17-2002, 04:30 AM#5
dataangel
Event
Unit Dies
Action
Wait 10 seconds
Create dark summoning special effect on corpse position (you'll have to find the .mdx file in the .mpq)
Create zombie
Wait 3 seconds
Destroy last special effect
10-18-2002, 02:42 PM#6
Guest
Thx Dataangel that did the trick. :)