How do I make it so the AI will not break down gates in Custom Maps?

I want to make a fortress that is fillled with troops, but they keep busting down the gates on the first turn!

​

What event should I be using to stop them attacking it?

I tried:

Make event space on gate > Repeat > AI Player > "Is the current turn at least day 1" > Set AI restriction of any Unit / Structure at "Event Space" for Player 2: Don't target this - Will be true

Posted Feb 6, 2019, 1:36 AM UTC

35
NicolasNSane•

Just use the settings option, click on the Gate, go to AI restrictions and select "Don't target this".

5
MetulFishOP•

I fixed it, thanks.

I removed the "Is the current day at least turn 1" part and left the "Conditions" section blank.

1
jeddy450•

Can you share your exact settings in event editor that made this work? I’m trying to do this too with outlaws, but cannot get it to work.

1
MetulFishOP•

Of course!

Place an event space over the gate you want the AI to ignore (I named the space "Gate", for ease)

Make a new Trigger (I called it "Ignore Gates", again, for ease)

#Properties

Trigger name: Gate When: Repeat

#Players

Ensure all players are ticked.

#Conditions

I left this blank. Any time I put something in here the AI attacked the gates.

#Actions

Set AI restriction of Any Structure at "Gate" for Any Player: Don't target this will be true.

I tried setting it for just Blue Ragna and not Red Mercia but for some reason this made them attack the gates, not sure why...

Hope this helps!

1
jeddy450•

Thank you!!

1