There is a problem: I order a unit via trigger to hold position. And he holds position when the enemy is in his range of sight. But if an enemy unit come closer and holding position unit attack it, and then enemy unit run away, the holding position unit chases him.
But I used to think, hold position order works other way: when we press "h" in game to our unit, he holds position without purchasing units he attacks, he never moves, until we cancel hold position order.
So, how can I order a unit to hold position via trigger, so he would never pursue hostile units he attacks.
There is a problem: I order a unit via trigger to hold position. And he holds position when the enemy is in his range of sight. But if an enemy unit come closer and holding position unit attack it, and then enemy unit run away, the holding position unit chases him.
But I used to think, hold position order works other way: when we press "h" in game to our unit, he holds position without purchasing units he attacks, he never moves, until we cancel hold position order.
So, how can I order a unit to hold position via trigger, so he would never pursue hostile units he attacks.
I'm sorry, it's so silly, I just forgot about the trigger which has been overordering the hold position order all the time. ;/