• Check out the results of the Techtree Contest #19!
  • Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

Reincarnation Detection

Status
Not open for further replies.
You cant AFAIK.
Unit - unit dies doesnt work because you technically dont die and I dont think you can catch a reincarnation as unit starts the effect of ability, ability being cast == reincarnation
so you have either to periodically check life of the unit or make reincarnation yourself trigger based.
PS: the 120 seconds wait between posts is reaaaaaaaaly lame :ogre_icwydt:
 
I assume that you mean that the ankh and reincarnation abilities are dummy abilities.
I dont want the unit to actually die, and than get revived that might cause problems with other triggers.
Also this way there will be no cooldown the hero will be immortal.

Looks like I am going to have to import a complex system.
 
As said, you have to periodically check if the unit life is 0, and play with a boolean to know if the ability is or isn't in cooldown.
 
Ehh

You cant AFAIK.

Lemme prove you all wrong

https://www.hiveworkshop.com/forums/jass-resources-412/extension-unit-event-172365/

JASS:
*    Events:    registered via Event API
*       static constant Event UnitEvent.REMOVE
*       static constant Event UnitEvent.DECAY
*       static constant Event UnitEvent.EXPLODE
*       static constant Event UnitEvent.RESURRECT
*       static constant Event UnitEvent.REINCARNATE
*       static constant Event UnitEvent.ANIMATE
*       static constant Event UnitEvent.START_REINCARNATE

edit
And GUI version by Bribe

https://www.hiveworkshop.com/forums/spells-569/unit-event-v2-0-0-0-a-201641/

spells_4102_screenshot_tnb.jpg



The two solutions above are better than using your Hydra solution ; )
 
Status
Not open for further replies.
Back
Top