I think your methodology should be simple point and click with vec_dist calls for 'attack, defend, retreat, reingage' coupled with simple path finding to avoid lock-ups when a team mate gets in the way.
Maybe state machines should be employed here.
I have had a few tests with rts and never completed any so am not sufficiently competent to give a definitive reply, only the above guess

.