They have no priority in buildings.
Printable View
Sorry--I should have been more clear (and I was mostly joking :)) I didn't expect them to do anything else as I know what archers do and don't do. What I would LIKE them to do is realize the futility of their efforts. The pic can't show, but they shot at that wall section for the last 45 seconds of my attack. No chance of getting through---all the while there is an opening just to their right, and another target, not blocked by walls, just to their left. By targetting the walls, they ended my attack for intents and purposes. If they had done these other things, they would not have survived anyway, but only because the next targets were defensive buildings.
http://i.imgur.com/Bw3Q6tn.jpg
Because going from the shorter blue line is shorter for they AI.
I know--but the direct direct line won't ever happen because the DPS from the combined archers is less than the hit points of the walls between where they stand and the target, given the amount of time available. As I said above, obviously this is beyond their AI, just funny. To see them hopelessly shooting away at a wall segment they will not be able to break through, with a nice hole in the wall just around the corner. :)