I have tried alot of different triggers for Neutral Hostile Hero Respawn, I have get this to work before, but now it won't work in any of the ways I know.. This is my current trigger:
Event-> Unit - Dark Hunter 102 <gen> Dies Conditions-> (Owner of Dark Hunter 102 <gen>) Equal to Neutral Hostile Action-> *Unit - Set Life of (Triggering Unit) to 100% *Unit - Set Mana of (Triggering Unit) to 100%( This is something I found in other versions of Angel Arena, so I added this in the last versions.. The usual is without the Set Life/Mana actions) *Wait 60 seconds *Hero - Instantly Revive Dark Hunter 102 <gen> at (Center of DarkHunter <gen>), Show revival graphics *Hero - Create (Random Level 2 Powerup item-type) and give it to Dark Hunter 102 <gen> *Hero - Order Dark Hunter 102 <gen> to use (Last created item)
Anything wrong with it?
I realy doesn't think the Condition is nescessary.. And I dun get the point in Life/mana at 100%..
Can't find the problem, the trigger works fine for me. Anyway, you're right: The condition is useless, you're directly refering to a unit. And that Set Life/Mana Actions are simply stupid, first life/mana of a dead unit can't be set and second the life/mana is set to 100% by the reviving-action anyway. Although it works with "Triggering Unit" for me, you shouldn't use that one though it mixes up when another unit triggers anything anywhere. You should start using the functions that more directly refer to the event, in your case it would be "Dying Unit". To check if it's the events/conditions fault or if something with the actions is wrong, simply add a text message action to your trigger, so you can at least see if the trigger fires or not.
Condition: And - All (Conditions) are true Conditions (Unit-type of (Dying unit)) Equal to Dark Hunter (Owner of (Dying unit)) Equal to Neutral Hostile
Action: Wait X.XX seconds
Hero - Instantly revive (Dying unit) at (Position of (Dying unit)), Hide revival graphics