I've been making a test map like Dynasty Warriors. When the comps units spawn, i want it to attack to the other side of the map. So i've been using AI scripts. Here's what it looks like
QUOTE
Players
- Comp 1
Conditions
- Spawn
Actions
- Create Units at 6 Spawn 1
- Run AI Script "Set Generic Command Target" at 7 Spawn 1
- Run AI Script "Make these Units Patrol (to upper left corner)" at 6 spawn 1
- Preserver
This works fine the first time but when I try to do the same thing for P6 second spawn point, the units attack to 7 Spawn 1, even though I reset the Generic Command Target to 7 Spawn 2.
dude just use the "order" action it will work but u need a location in the spot they start and the place you want them to go

Why are you using "Set Generic Command Target" in the first place? It isn't necessary. If you use regular StarEdit, it's a hidden AI anyway.

speaking of ai scripts, is there a junk yard dog script for starforge? if so where? if not where i get?
"Set Unit Order to: Junk Yard Dog" runaiscriptat
If you use the order command, the units just run past each other if they don't get in each others way. Using set generic command target sets the target that they will patrol to when using the Make Units patrol AI script. That ai script makes it so that the units are much more aggresive and will attack units in range whilst patrolling.
That "Set Generic Command Target" and "Patrol to Upper Left Corner" combo only works on units that you can't order around, like Scarabs, Interceptors, and Nukes. It's pretty damn cool.
No, it's works on all units, the only problem i'm having is that I can' seem to reset the generic command target.
I don't think you can. That AI script was designed for instances of constantly attacking a valuable building in the Starcraft campaigns
Actually use the Order again, and set it to either Patrol or Attack, and in this case Attack, and if they meet an enemy unit as the go they will attack it and move on.
There problem solved.
QUOTE
If you use the order command, the units just run past each other if they don't get in each others way
I already tried that, but even if you use attack or patrol, then can brush shoulders and keep moving. It's definetely not cool *humph*

They will only attack units after they reach the target location. So Make it bigger or something.