AI don't attack stone gate ? [Editor]

using the attack move effect enemy AI only attack weak building but don’t go for the stone gates is there something i need to activate with the attack move effect in order for them to clean everything ?

this seem to happen when i have enemy AI set on none, strange tho that it attack some building and some not

Old unfixed behaviour

Whether a player attacks walls and gates is defined in the AI script assigned to that player.
You can add these lines to your AI file (.per file) to ensure the player attacks gates.

(defrule
(true)
=>
(set-strategic-number sn-enable-patrol-attack 1)
(set-strategic-number sn-wall-targeting-mode 1)
(disable-self)
)

My suggestion: search the net for an Immobile AI, open its .per file with a common text editor and add the following lines, then save the updated file. Then assign the AI to the player which makes use of the attack move effect.

2 Likes