Basically what I need to know is if its possible to have the computer attack the next closest unit to its location.
For example, lets say I have three spawn points. One for Terrans, one for Zerg, and one for Protoss. The spawn points will spawn Marine's, Zealots, Battle cruisers, Motherships, Goliath's, Zergling, Brood Lords, etc, etc. They would hunt the other teams units down and destroy them. However I haven't been able to figure out that part. They usually just stand there and do nothing. I can make them attack my structures, but this isn't what I'm looking for.
Basically what I need to know is if its possible to have the computer attack the next closest unit to its location.
For example, lets say I have three spawn points. One for Terrans, one for Zerg, and one for Protoss. The spawn points will spawn Marine's, Zealots, Battle cruisers, Motherships, Goliath's, Zergling, Brood Lords, etc, etc. They would hunt the other teams units down and destroy them. However I haven't been able to figure out that part. They usually just stand there and do nothing. I can make them attack my structures, but this isn't what I'm looking for.
Help will be appreciated.
There is a function "Closest Unit to point" so you could make:
In issue order you have to make: Issue order attacking Point or Unit. When you do Point make Position of Unit else just the unit
@miheinen: Go
I believe this is what I'm trying now and to no effect. I tryed changing the value of the target to biological and etc, but nothing seems to work.
This works fine for me
Alright, got this to work but still having trouble with the spawning points. They spawn but still don't move
Edit: Never mind, figured it out I think. However they're targeting themselves and not the closest enemy unit