is there any way i can get and ability that can only target corpses, not an ability that effects a random corpse but one that is targetable. i made it so the ability says when u use it " Must Target A Corpse" but when i click a corpse it comes up with the same mesage.... PLEASE HELP!!!
so there is absolutly no way i can make an ability target a corpse at all (without jass atleast, jass is too hard to do for me....) P.S. no one even tell me to learn JASS.... i want to but in the tutoial it says i need JASS editor.... for windows.....i have mac.....
Reicarnate? Mostly improbable. Mostly heroes reincarnate (though it obviously can be used on normal unit). However, here is a simple yet efficient method:
Use channel with 0.01 duration and make it target a point. And now:
Event - An Unit Begins Casting an Ability Conditions - Ability Being Cast equal to YourAbility
set var = pick a random unit within 50 range of the point matching condition ((Matching Unit) is Dead equal to true and (Matching Unit) is a Hero equal to false and (matching Unit) is a Structure equal to false)
And then you can of course check if var is null. And if it is you stop the caster immediately and write an error message. If not you remove var unit and do your spell. Don't forget to set var to null at the end of the trigger.
How bout this, make spell based on target-position spell (e.g. Carrion Swarm) then when a unit start casting an ability, do:
set var = pick a random unit within 50 range of the target point of ability being cast matching condition ((Matching Unit) is Dead equal to true and (Matching Unit) is a Hero equal to false and (matching Unit) is a Structure equal to false) /* same with Daelin though */
if var not equal to nothing then --------spell action-------- else --------message-------------