Starcraft – Terran Scout Buildings Absorbing Damage

starcraft-2

When playing XvT, Terran's often employ a barrack's or a factory as a cheap scout. I've also seen a lot of cases where they will like to fly the scout over one part of your base (say your main base) while then flanking with their army and attacking your natural. The reason for this is that often the opponent will overreact when they see the scout and draw too much of their army away leaving their natural exposed.

Recently though, I played a Terran who flew a factory overhead right before we engaged in battle, and several of my stalkers were attacking the factory instead of the opposing army.

Are there other ways to deal with this than just trying to micro each individual unit to not attack the flying building? Why is the building attack priority not tuned such that this would not happen?

This applies in a similar sense to Zerg's who bring in many overlords when attacking to absorb fire as well.

Best Answer

Given the attack target priority, a unit will attack units over the barracks. Overlords tie with other hostile units, so they are treated equally. In your Zerg example, there's nothing that would tell the AI to favor other zerg units as opposed to overlords except the player's micro.

In terms of the Terran example, the units should favor the opponent's hostile units over the barracks. What may have been happening is that, given nothing else in range, they continued to attack the barracks. In this case, moving the stalkers so that they are in range of units with higher attack priorities should cause them to favor the opposing army over the barracks in the sky.