Tanks & artillery pursue enemy on defend mode

Information and discussion for custom maps and mods.
Post Reply
Lassar
Posts: 14
Joined: Tue Dec 18, 2018 11:20 pm

Tanks & artillery pursue enemy on defend mode

Post by Lassar »

Was checking out the enemy tank and artillery trap, found out,
that the tanks and artillery was in defend mode, and was pursuing my dog
in my mod of on top of the world.

Also checked the original top of the world, and checked out the enemy tanks in
the map editor, and they was definitely in defend mode.

These tanks also were pursuing my monster tanks.

In defend mode the enemy tanks are not supposed to pursue you.

Looks like there is a bug the program or the scripts or somewhere else.

So what gives?

abcdefg30
Posts: 432
Joined: Mon Aug 18, 2014 6:00 pm

Re: Tanks & artillery pursue enemy on defend mode

Post by abcdefg30 »

If this is about enemy controlled units, that is probably because AI controlled units use "Attack Anything" as default while player controlled units have "Defend" as default. To change that you'd have to change the rules of the units with

Code: Select all

	AutoTarget:
		InitialStanceAI: Defend

Post Reply