If you tell the ai to harras 6 locations, and you get the 6 locations to follow 6 units 1 for each player, and the harrass order is given regularly*, and the computer gets it's units from 2 different locations(so 12 harrass orders with be running for the computer's 2 types of units) that is spawning one unit per second. Will the computer attack all 6 players and will it ajust as the players move around the map? (instalation terrain) Also if doors open and shut will the computer ai script compensat for that too.
*I wont define regularly as i would like some recomendations as how oftern would be best for what i want.
Instead of using the AI script .. use the Order -> Attack trigger. Unless I misunderstood your post it was kinda hard to read...
The Harass script can only be used at one time. Using it again will cancel the previous harass and change the computer's target.
My suggestion is to cycle through them every minute or so. Do something like:
Computer
Conditions:
Current Player Custom score is exactly 0.
Actions:
Run the AI script to harass the first player.
Wait 60000 miliseconds.
Modify score for Current Player: Add 1 Custom.
Preserve.
And do the same for all players untill you reach the last where you set it back to 0. OR you can assign different areas of the map where the computer produces units to harass the different players. (you said only 2, but I'm sure you can managa to split up the unit production among 6 locations at least)
I for one, don't even know if the harass script does anything noticable.
i never though of ordering it too attack. its just i only have 2 types of units on the map (Devouring one and the basic zergling) and i want them to spawn and find their way through the maze to the players (1-6 random ammount of players). adaprting too doors opening and closing a at random(fron their point of view(player 7 controls the doors)).but the players have 8 men and one vehicle the location used to direct the computer follows the vehicles.... so when the vehicles are dead they just attack the whole map. or some such order.
for no im spliting the ammount of players too 2 for testing anyway.
(sorry about the posts not making sense.... i am autistic)