This site works best with JavaScript enabled. Please enable JavaScript to get the best experience from this site.
Hey,
I want to add a behaviour to a unit every time it kills an enemy unit, but I have no idea how to detect when a unit is killed using the data editor. Note: I know it's easy with triggers but wanna know if it's possible with data editor.
Thanks
Bump
You could work with the "IsDead" validator to check whether or not the unit your unit is dealing damage to is dead or not.
I'm not sure if there is an alternative or better way but this should be sufficient to detect whether or not your unit has killed a unit.
Ok will try thanks;)
Hey,
I want to add a behaviour to a unit every time it kills an enemy unit, but I have no idea how to detect when a unit is killed using the data editor. Note: I know it's easy with triggers but wanna know if it's possible with data editor.
Thanks
Bump
You could work with the "IsDead" validator to check whether or not the unit your unit is dealing damage to is dead or not.
I'm not sure if there is an alternative or better way but this should be sufficient to detect whether or not your unit has killed a unit.
Ok will try thanks;)