I need a computer player to attack (not patrol) to a location and attack anything it encounters on the way there. Would it work if I made a location bigger than the map and centered it on the area I wanted the comp to attack to? If not does anyone know how I can do this?
I think if you just use the "attack" order it will already attack anything on the way there.
QUOTE(Chill @ Jan 14 2005, 06:10 PM)
Well it dosn't.
[right][snapback]125313[/snapback][/right]
Try patroling there, and when the unit reaches the location where its supposed to return, make it stop patrolling.
There's more than one unit, that wont work.
I bet he forgot to make the players enemies

Haha actually, I did at first... it took me a full half hour to figure out what was wrong. The computers were supposed to unally after player 8 accumulated 1000 minerals which he was to get from a trigger that constantly gave him one ore... I forgot to preserve it.
Right, so I fixed that, and the computers are unallied now, but that's not the problem. They will attack each other, but only when they arrive at the location I order them to (hence my suggestion to just make the locations real big). I need them to attack anything on the way.
EDIT: Sorry for the grammer stupidity. I'll fix in a sec'.
EDIT2: And by a "sec" I mean tommoro. I'm gonna go pop some Advil...
Well why don't you test the trigger first, then tell us if your "Big location" thing doesn't work.
And if it dosen't..then do what MindArchon says, should work for multiple units too.
do the patroll, but allways order units in the second location to attack to the same location, or if your worried about it geting full, a location near by.
Then units in that location wont be able to leave...
I'm 100% sure what your talking about but try this.
Use the A.I script "Value this area higher" at a location around the area you want, if you time it properly it makes the computer send units to that area every time it fires.
Of, if that doesnt work, although I havent experimented with this scirpt so I'm not sure if it works, there is a set "generic command target" which I think would have a similar effect.
Generic COmmand Target effects things like Interceptors and Scarabs, but the Value this Area Higher may work, the only problem is that you cannot control which units will go there.
I used patrol from the spawn only to the end. Then at the end, I made them do something else... Attack doesnt seem to work unless they run into each other...
I had this same problem actually, the enemy units were NOT ATTACKING human players IN THE WAY of their path, only near their destination.
I used patrol and they started attacking unallied units.
However (this is a starship troopers, RAID map), I couldn't get the units to scatter across the map no matter what I did.
~Multiple comps on random missions
~create about 15 dif. locations from top to bottom, to attack to the 15 locations on the left (in a line)
~random mission one comp
What would happen is they would bunch up half way along their adventure. The 15 rows scattered nicely through the map, would start to bunch closer half way through the map (while running towards the human base). (Turning the 15 rows into about 3 BIG rows)
Maybe my problem could get solved ;op.
Patrol SHOULD make the enemies attack anything in their path, if they are in line of sight of the unit.
Sorry if im spamming but u just make a huge location
Description: Attacking location
Player: You choose
Condition: Always
Action: Order units to location1 to location2 attack
I think if you can make a location the size of the map and sucessfully center it elsewhere on the map, that that method would definately work. Because the AI has shown that attack normally doesn't work unntill your unit reaches the location, is attacked while on the way, or runs into something along the way.
If that doesn't work then my only suggestion is to patrol to the location then attack to while the men are in the location. But you said you didn't want to or couldn't do that.
My I can't seem to locate my BW disk. Can someone test the location thing and the value this area higher thing and post back what happens?
No, I just remembered. It won't work. I know this because I encoutered a move location problem in one of my maps. It wouldn't center a location on the edge of the map because that was the edge of the map. Instead the location was moved to edge of the map.
If a location were the size of the map then it wouldn't work. They would just attack to the center.