I need a trigger where when you cast forked lightning and kill a unit with it the unit you killed gets ressurect on you side as a reanimated dead. PS it could be multiple units killed. can anyone possibly put this in code for me plz
i will not code it for you, havent got the time, but i can tell you (and maybe others who are interested) how to do it.
I would suggest using a dummy ability based on channel and give it to your hero, then if the dummy ability is used create a dummy unit with the actual forged lightning and make it cast it on the target.
now you only need to check whether a unit got killed by the propriate dummy unit or not, checking whether a unit was killed by an ability is really really hard thats why i advise you to go this way around.
animated dead by default is to revive X number of unit in X range RANDOMLY, if you want to revive the specific unit............even if you set the range to lower value and put your dummy next to the dead unit. There still will be a chance other unit that not killed by your caster will be revived.
So what i recomment is to create the same unit for the caster, at such, less problem, and more easy.
Ghan has said he has fixed this. Monovertex please confirm this fix. This was only a problem with people that had signatures in the upper levels like not the special members but the respected members.