One way to make your AI seek and use cover, is usind "coverpoints", which you set in WED, and c_trace.
However, I want my AI to seek and use cover, without pre planted "coverpoints"; that the AI somehow knows where to take cover, only using the position of it's enemy/ies and traces (or whatever).