Page 1 of 1

Scripting AI sea evacuations

Posted: Wed Nov 30, 2016 4:32 pm
by Erik2
I'm working on a Dunkerque scenarios and am unable to force the AI to embark units onto sea transports and move towards an exit point on a sea hex at map edge.
I've tried both the Exit the Map order and the Move to Hex order (disembark hex at port terrain and target hex at exit location).

Any tips?

Thanks
Erik

Re: Scripting AI sea evacuations

Posted: Wed Nov 30, 2016 8:48 pm
by terminator
Hi Erik,
You have the solution in the Dunkirk Scenario :
Evacuations.jpg
Evacuations.jpg (248.63 KiB) Viewed 1186 times

Re: Scripting AI sea evacuations

Posted: Wed Nov 30, 2016 9:14 pm
by Erik2
Probably the smart place to look...
Thanks, I'll see if I can get that working.
I'm not at my PC now, but it looks like it is a loop removing one unit and spawning a transport which is moving towards an exit location.

Re: Scripting AI sea evacuations

Posted: Thu Dec 01, 2016 7:26 am
by terminator
Suggestion :
In the Editor, there is a button "Disembark Hex".
If we had a button "Embark Hex", it would be very useful in this case :idea: