Unit has an effect-target transient autocast abil with 360', and I thought nothing should stop the unit from using it, but it can only use it between target aquires. So, if it attacks an enemy, it won't use the abil until the target dies.
I'm talking about situation where the unit has attack move in queue.
I'd like the abil to be used even while unit is attacking a target. And actually any time the it has an appropriate target in radius.
upd: An observation (feels like related): the unit i'm talking about will pursue the first target if it was moved away of weapon range, even if there are targets within range. Meanwhile another unit type will just switch to closer target if the first one was moved away. And this second unit does use his abil (effect instant abil, though).
upd2: ok, I found what's wrong: the abil includes issue order effect. And it shouldn't be queued. Because the idea of the abil is that unit has some damage bonus, but randomly attacks targets in range (changes the target after each attack). So, that order replaces the attack move. And when the abil finishes, unit doesn't aftocast while having target aquired anymore.
upd3: solution is found: to make the unit switch target without issuing a new order
Unit has an effect-target transient autocast abil with 360', and I thought nothing should stop the unit from using it, but it can only use it between target aquires. So, if it attacks an enemy, it won't use the abil until the target dies.
I'm talking about situation where the unit has attack move in queue.
I'd like the abil to be used even while unit is attacking a target. And actually any time the it has an appropriate target in radius.
upd: An observation (feels like related): the unit i'm talking about will pursue the first target if it was moved away of weapon range, even if there are targets within range. Meanwhile another unit type will just switch to closer target if the first one was moved away. And this second unit does use his abil (effect instant abil, though).
upd2: ok, I found what's wrong: the abil includes issue order effect. And it shouldn't be queued. Because the idea of the abil is that unit has some damage bonus, but randomly attacks targets in range (changes the target after each attack). So, that order replaces the attack move. And when the abil finishes, unit doesn't aftocast while having target aquired anymore.
upd3: solution is found: to make the unit switch target without issuing a new order