Return fire stationary AI units

Information and discussion for custom maps and mods.
Post Reply
User avatar
r34ch
Posts: 137
Joined: Sun Mar 01, 2015 2:02 pm

Return fire stationary AI units

Post by r34ch »

Is there a way I can specify certain units on a skirmish map to not move and only return fire? If I assign them to a team and the AI fills that slot, often they simply charge them at the start of the game.

Failing that, is there a way I can specify all the enemy units not to move and simply return fire?

User avatar
Murto the Ray
Posts: 487
Joined: Mon Nov 10, 2014 4:34 pm

Post by Murto the Ray »

The "AutoTarget" trait has the field "InitialStanceAI" which is set to "AttackAnything" by default. Should be as simple as changing that to "ReturnFire".

Post Reply