HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Detecting Reincarnation?

03-04-2004, 07:53 PM#1
Lazurus
Hey everyone, I was wondering if any of you could help me with an issue I have come across when working with Reincarnation.

I am trying to add special effects to Reincarnation, though I still want the basic mechanics of the spell to be the same (hero resurrects if the spell isn't still in the cooldown phase, ect.) I want to hide the reincarnating hero while these special effects (I don't want him to be a corpse on the ground as the effects occur) take place and then have him spawn at the point where he died as a reincarnated unit normally would (easy to do, I have no trouble with this stuff) though I am having trouble detecting when Reincarnation has been casted or when the cooldown for the spell has expired, which has become a real pain since now the special effects initiate (without a target) every time to hero dies because I cannot seem to detect the spell's casting or check on the cooldown using triggers. Do you think you could lend me some advice on this subject, as it is really starting to frustrate me.

- Lazurus
03-05-2004, 12:13 AM#2
Lazurus
Hrm.. well, what about monitering for when the unit's health drop below a certain point. Do you think that would work? I can't believe the World Editor cannot detect some indication for this ability though... this is bound to make things more frustrating. :P

- Lazurus
03-05-2004, 02:05 AM#3
Grater
The way to do it is by detecting HP being reduced to 0, it would probably also be possible to detect the HP becoming above 0 when the unit actually reincarnates.