In my RPG, I decided to make the computer units more aggressive by constantly centering a location on the hero and giving all enemies in the location the Patrol order every eight trigger cycles. It works to an extent: The enemies will chase the hero. However, it is possible to confuse them, making them neither move nor attack for much longer than eight cycles. (I timed it at at least two seconds once before the unit died.) This produces rather lulzy-but-stupid things such as "pacifist Zerglings" and so on for no apparent reason. Any advice?
EDIT: inb4spam about how I won't finish the map
None.
Hero units will follow you to the ends of the earth.
None.
Hero units will follow you to the ends of the earth.
But I don't want my ling and zlot enemies to have the speed upgrade, and I want enemy spellcasters to cast. ;o
None.
We can't explain the universe, just describe it; and we don't know whether our theories are true, we just know they're not wrong. >Harald Lesch
There's dozens of enemies at points. I don't have enough locations or patience to code something that can slow that many units at once.
None.
Run the AI script strategic suicide mission. The computer will chase you no matter where you are. They don't need to be able to see you.
None.
I found this on various threads when I searched for how the "nuke here" script works.
There is an AI script called "Clear Previous Combat Data" and the description is "Removes any orders to comptuer units.".
That might be useful for you?
None.