I need the units controlled by a computer player to move to a specific location and attack all enemies on the way. The problem is that they just attack and don't use their abilities (like they did in Warcraft 3). Right now I issue an "attack" command but I've also tried "patrol" and "scan-move" but nothing works. What command do I have to use to make them cast their spells? Or do I need to initialize an AI (which I've also tried without success)?
The units I'm using are for the most part regular SC2 units with their usual abilities. However, the only abilities they cast are autocast abilities like Zealot - Charge or Medivac - Heal. I thought about ordering the units via trigger to use their abilities but that would probably cause a lot of lags because of the number of units on the map and the frequency at which they have to cast their spells. I also had a look at attack waves: they do work but the units don't cast their abilities often enough. What I'm going to do now is modify all the abilities so that they can be autocast and use validators to regulate when units should use them. This is quite a bit of work but nothing else seems to give the result I'm looking for.
Unless someone has another idea (which I would be grateful for), I'm going to mark this thread as solved.