Spell being cast equal to Reincarnation
If *unitvariable* life equal to 0
*Unitvariable* is alive equal to true
Then do- ******
Else do- ******
Events
<Unit>'s life becomes less than 1
Conditions
Level of Reincarnation for <Unit> equal to 1
Actions
Wait 0 Seconds
If - Conditions
Unit is alive equal to true
Then - Actions
Wait For Condition (Units HP is greater or equal to 1) check every 0 second
---- Your actions ----
The Wait 0 seconds is necessary there?
function IsUnitRemoved takes unit U returns boolean
return GetUnitTypeId(U) == 0
endfunction
not sure.., it's dead already in 0.405 i think.
No, the 0 means just what it says: 0.just change the wait to something slightly longer then the delay before your hero is reincarnated?