I've got 6 gnolls placed in a specific area in my map. I want to add them to some kind of revive system where if one dies, after 12 seconds, they will revive instantly at the location they were initially standing at.
I figured I'd have to create a new unit in place of the dying unit, as opposed to reviving it.
I don't want to just make separate triggers for each individual respawn. I want to add them all to some kind of index, since they're all sharing the same revive wait time. How can I do this?
Note: I'm also interested how I would go about having different revive wait times for some of the units inside the index, as opposed to them all just sharing the same revive wait time.
I figured I'd have to create a new unit in place of the dying unit, as opposed to reviving it.
I don't want to just make separate triggers for each individual respawn. I want to add them all to some kind of index, since they're all sharing the same revive wait time. How can I do this?
Note: I'm also interested how I would go about having different revive wait times for some of the units inside the index, as opposed to them all just sharing the same revive wait time.