So I'm practicing my skills by making a basic hero survival type map with enemies spawning in regions and then being sent to the middle via attack move order.
I have a trigger where the enemy units are ordered to attack a point, they will do so and then when they reach that point they are ordered to attack the next point but they do not, they just run back to the first point?
The trigger example is in the image below.
The trigger for making them attack the 2nd point is basically the same but obviously with the correct points etc.
I have zero experience with Wave AI, but I don't think you can freely reorder units that have been created from Wave AI. It seems like they want to reach their origin destination that was declared by Wave, what makes sense.
You probably should issue orders to units managed by AI, using its API. There's a bunch of functions there. The proper way seems to be get the *waveinfo* from unit and change its *wavetarget*.
You could also try workaround and remove mentioned unit from the Wave. By calling *Remove Unit From All Waves* action. This should likely stop the AI from redirecting your unit.
So I'm practicing my skills by making a basic hero survival type map with enemies spawning in regions and then being sent to the middle via attack move order.
I have a trigger where the enemy units are ordered to attack a point, they will do so and then when they reach that point they are ordered to attack the next point but they do not, they just run back to the first point?
The trigger example is in the image below.
The trigger for making them attack the 2nd point is basically the same but obviously with the correct points etc.
https://gyazo.com/f984e17a7d52f76b7b22d22ff85a4a29
*bump*
Please help, I can't make any waves as the units keep herp derping back and forth :(
I have zero experience with Wave AI, but I don't think you can freely reorder units that have been created from Wave AI. It seems like they want to reach their origin destination that was declared by Wave, what makes sense.
You probably should issue orders to units managed by AI, using its API. There's a bunch of functions there.
The proper way seems to be get the *waveinfo* from unit and change its *wavetarget*.
You could also try workaround and remove mentioned unit from the Wave. By calling *Remove Unit From All Waves* action. This should likely stop the AI from redirecting your unit.
Previously known as: SomeoneTookMyNameTT
In reply to Talv_:
Hi, thanks for the response,
I'm not using the wave AI system, only triggers to create the units and then order them :S
***FIXED***
Solution:
So it seems that by making the player control settings "computer" rather than "hostile" did the trick for me.
Hooray!