So I've done a bit of research and experimentation with this event and have come up with three conclusions:
A) This event is fired the second the 'Attacking Unit' is ordered to attack the 'Attacked Unit'.
B) This event is fired the second the 'Attacking Unit' comes within the set range of the 'Attacked Unit'.
C) This event is fired the second the 'Attacked Unit' begins to start the attack animation.
(I believe that C is probably the correct one, but I've uncluded the others just in case.)
Problems with this:
Basically, the problem with this event is that it doesn't fire when a unit takes damage, (yes, I know there is an event for that, but it does ONLY works for specific units - that can get annoying since you have to pre-specify a unit right then and there), and that it's virtually impossible to use in conjunction with a ranged hero.
Basically, I would like some clarification on my 3 conclusions, and also would like to know if theres a better way to do this. Thank you very much.
-Z
A) This event is fired the second the 'Attacking Unit' is ordered to attack the 'Attacked Unit'.
B) This event is fired the second the 'Attacking Unit' comes within the set range of the 'Attacked Unit'.
C) This event is fired the second the 'Attacked Unit' begins to start the attack animation.
(I believe that C is probably the correct one, but I've uncluded the others just in case.)
Problems with this:
Basically, the problem with this event is that it doesn't fire when a unit takes damage, (yes, I know there is an event for that, but it does ONLY works for specific units - that can get annoying since you have to pre-specify a unit right then and there), and that it's virtually impossible to use in conjunction with a ranged hero.
Basically, I would like some clarification on my 3 conclusions, and also would like to know if theres a better way to do this. Thank you very much.
-Z