Hello there.
The simple example of what i want to achieve is zealot`s charge ability in SC2 (zealot gains an increased movement speed while reaching an enemy unit if the ability is on autocast). So yeah, WC3 on-attack abilities (like enchanted arrows) doesn`t work with melee units. I tried to make a trigger based on "unit is issued an order" events, but they can not work properly with an attack-move type of orders (basically if u making a trigger like that, the ability would cast even if there are no enemy units near the point of order issued). And actually the ability woudn`t work if unit is ordering to attack by itself (if enemy unit comes into your unit`s acquisition range and ur unit attacks it automatically)
So i want to make an ability that will cast at the same time when a unit is GOING to attack. I hope I explained it clearly. Please forgive me for my pure english.
If you have any ideas, please, tell me!
The simple example of what i want to achieve is zealot`s charge ability in SC2 (zealot gains an increased movement speed while reaching an enemy unit if the ability is on autocast). So yeah, WC3 on-attack abilities (like enchanted arrows) doesn`t work with melee units. I tried to make a trigger based on "unit is issued an order" events, but they can not work properly with an attack-move type of orders (basically if u making a trigger like that, the ability would cast even if there are no enemy units near the point of order issued). And actually the ability woudn`t work if unit is ordering to attack by itself (if enemy unit comes into your unit`s acquisition range and ur unit attacks it automatically)
So i want to make an ability that will cast at the same time when a unit is GOING to attack. I hope I explained it clearly. Please forgive me for my pure english.
If you have any ideas, please, tell me!