During gameplay, the player can order subordinate AI units to move to building positions by selecting the unit, then clicking MMB over the desired building position.
Similar behaviour can generally be scripted using the commandMove and doMove commands.
OBS:
There are some building positions that AI can successfully move to when ordered to by the player, but cannot be reached by scripted AI.
EXP:
When ordered by script commands, AI should be able to reach all building positions they can reach successfully when commanded to do so by the player.