- Joined
- Aug 22, 2006
- Messages
- 253
At the moment I am making a map which is a little like resident evil, but based on an entire different story/characters etc.
The other day I was flicking through the zombie animations and i saw that it had a birth animation, unlike alot of other units. So this gave me the idea that i should make it so every zombie should die once then get up again, then if you kill them again, they'll die permanently. (Giving the effect of knocking them down for a few seconds). I already know how each trigger will be done for this:
Event: Unit dies
Condition: (Dying Unit) is equal to (Zombie)
Action: Suspend Corpse Decay of (Dying Unit)
Wait 5 Seconds?
Ressurect (Dying unit)
Which is pretty simple. However does any mapper out there have any ideas on how i can trigger this so they only get back up ONCE and so i can do it for every zombie without having to have a trigger for every single one. Help would be much appreciated
The other day I was flicking through the zombie animations and i saw that it had a birth animation, unlike alot of other units. So this gave me the idea that i should make it so every zombie should die once then get up again, then if you kill them again, they'll die permanently. (Giving the effect of knocking them down for a few seconds). I already know how each trigger will be done for this:
Event: Unit dies
Condition: (Dying Unit) is equal to (Zombie)
Action: Suspend Corpse Decay of (Dying Unit)
Wait 5 Seconds?
Ressurect (Dying unit)
Which is pretty simple. However does any mapper out there have any ideas on how i can trigger this so they only get back up ONCE and so i can do it for every zombie without having to have a trigger for every single one. Help would be much appreciated