Look: Advanced-->
Guard Distance
Guard Return Distance
Guard Return Time (sec)
Radius to Notice Building Construction
Radius to Notice Neutral Building Use
they just get bored after a while, they dont run from buildings, last time i played melee i lured a mob of ogres into an enemy base at the begining of the game...