Page 1 of 1

Guard Script Question

Posted: Thu Mar 30, 2023 9:56 am
by Ironduke75
Hello,
At first, my congratulations for a very well done game, i'm enjoying it a lot. I'm trying to mod AI scripts and i have the following question about GUARD scripts:

If i put a city under enemy control (that is, not in AI possession yet) as GOAL POSITION of a TYPE 2 GUARD script, Does AI try to move toward that GOAL POSITION regardless? or the GUARD script is activated only when the city is actually conquered?

Thanks in advance for your help,
Fabio

Re: Guard Script Question

Posted: Fri Mar 31, 2023 9:12 am
by BillRunacre
Hi

The Guard script will only be activated once the AI controls the location. So you can draft up the script ready for it to fire once the AI has taken it.

Re: Guard Script Question

Posted: Sat Apr 01, 2023 4:54 am
by Ironduke75
Thanks for the answer :D

Fabio