Page 1 of 1

[Question] AI scripting - Naval transport

Posted: Sun Jan 26, 2025 12:04 pm
by W4lth3r
Hello all,

I'm currently scripting the AI for one of my campaigns. There I would require the AI to naval transport a bunch of units through naval loops to their destination.

So far I managed to transport the regular core units (detachments, divisions, cavalry div) as well as an HQ. It looks like though as if the AI cannot transport Garrison units.
Reading the naval transport script parameter descriptions I found the limitations around non-core units (Garrisons are not listed there) and the strength requirement of >5. After increasing Garrisons max strength to 6, the AI still doesn't transport them.

Is there a way to make the AI transport Garrisons?

Thanks,
Walther

Re: [Question] AI scripting - Naval transport

Posted: Mon Jan 27, 2025 2:52 pm
by Hubert Cater
This does look to be the case, and unfortunately my coding notes indicate that too many Garrisons were being added to these plans, so they've been purposefully left out for now so the plans could maintain priority on 'core' units.

Re: [Question] AI scripting - Naval transport

Posted: Mon Jan 27, 2025 3:59 pm
by W4lth3r
Alright, I will let the AI cheat and just spawn them in then.

But maybe it would be good to have some override possibility so that for these exceptions the AI could still do it. Also, the strength limitation would stop garrison transports anyways, with them being capped at 5 by default, no?