This is a very nooby question, but I can't figure out what triggers to use. I have a part in my map where waves of zerg come out of a nydus canal, and they're supposed to attack the player's base. Since the player could have multiple expos, I told the computer to run the "send all units on random/strategic suicide missions." The units start to run towards the base, but then they stop and stay still until the next wave comes (when the ai script is ran again). How do I make them just go after the player's bases after they are spawned?
I'd post my map, but it's part of a campaign and it's not done, and I don't want to be criticized by other people for having a lame map, so I don't wanna post it here.
Why not "send all units on random/strategic suicide missions" at "The entire area" and preserve trigger? I dunno if that'll work or not.
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
They shouldn't stop to attack. There must be another AI script interfering (campaign / base build AI scripts?) or you're giving the units to another player, or move them outside the map or something like that.
Hard to tell, without more information.
I do stuff and thingies... Try widening and reducing the number of small nooks and crannies to correct the problem.
They will stop because the target unit died.
You should execute the script in an interval (for example: every 2 seconds) or if you want to make it perfect: whenever the target (a unit of the enemy player) died.
Multiple executions of the ai script won't change the target, so units won't run left and right every 2 seconds.
Well actually, I made random waves of spawn every 10 seconds, and each time they spawned, the AI script would run. I also made a separate trigger that just ran the ai script every 2 seconds. I thought that having multiple triggers run the same script as the same time could mess the units, so I took out the second trigger, but they still stop every now and then.
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
It's possible that you're doing it too often. Spamming AIs can cause them to jam.
There are several ways of doing it... you can have the zerg be put on Insane ai which make it so that they attack often enough but this isn't very accurate or efficient.
Another method is to place a location on a base of a player and make an "Ai" trigger to value it higher this will make it so they send hordes of monsters at the specification location, and also make it build a base there...
Lastly spamming AIs could cause the stop by jamming them in essences... but it depends on the ai spams you got going, and the amount of units you are sending
None.