Guard Script Question

Post Reply
Ironduke75
Posts: 2
Joined: Thu Mar 30, 2023 9:45 am

Guard Script Question

Post 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
User avatar
BillRunacre
Posts: 6650
Joined: Mon Jul 22, 2013 2:57 pm
Contact:

Re: Guard Script Question

Post 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.
Follow us on Twitter: https://twitter.com/FurySoftware

We're also on Facebook! https://www.facebook.com/FurySoftware/
Ironduke75
Posts: 2
Joined: Thu Mar 30, 2023 9:45 am

Re: Guard Script Question

Post by Ironduke75 »

Thanks for the answer :D

Fabio
Post Reply

Return to “MODS and Scenarios”