I've got a "modify unit" type effect that sets a units hp to 0 called Instant Death.
The problem im having is that when i apply the effect to a unit from another unit using:
Environment - Execute InstantDeath on (unit1) from (unit2)
The "killing unit" i use in my other trigger, with event: Unit Dies, does not reference unit2.
Been looking around in the data editor, but i cant figure out how to modify the ability so that the reference will work, or how i can use an other type of effect to make it kill any unit.
I've got a "modify unit" type effect that sets a units hp to 0 called Instant Death. The problem im having is that when i apply the effect to a unit from another unit using:
Environment - Execute InstantDeath on (unit1) from (unit2)
The "killing unit" i use in my other trigger, with event: Unit Dies, does not reference unit2. Been looking around in the data editor, but i cant figure out how to modify the ability so that the reference will work, or how i can use an other type of effect to make it kill any unit.
Never mind, i missed that the "Damage" type effect had a "Kill" flag.. doh!