The bucket on an NPC's head while you rob them blind is my favorite example of a shining success of the line-of-sight system while simultaneously being a spectacular failure of basic AI.