JUst an update from my play testing observations....
In my scenario, I have setup lua rules that trigger when an enemy city is captured and generates more units for the AI.When creating the units, I ensure the above functions are set as a part of the process.
What I have observed is that the majority of the units (6/8 of 10) tend to go for the enemy city area, but a small amount will rush off to another direction near the designated plot. However, in a few games, most of the stragglers shift direction and reform with their 'siblings' as soon as the first lot have entered near the plot area!
Not sure if this behaviour is indeed in line with code in the DLL or if it simply coincidence based on my map?
The key example I focus on is how the German forces in my scenario capture Sevastopol (which if any of you are aware, sits on its own in the Crimean peninsula). Most of the units approach it whilst a few shoot off towards Rostov/Stalingrad direction. But when the units from the spawned group enter near Sevastopol, the othremaining spawned units shoot in reverse and support the units laying seige to the city.
Some additional points:
- All my units (USSR) are fortified to prevent movement. This to ensure I see how the AI flows and chooses its direction of attack. Is it going around with no purpose or actually attacking properly? Luckily the answer is the later.
- The AI already has 100+ ground units when the scenario kicks off. Irrespective of other units in the area, the AI does seem to specifically send these spawned units in the proper direction and 'control' or attack the zone. This does not mean that other units do not also assist. I notice that the Romanian civ units always support the German ones in the area in proper ingame allied form.
Has anyone had any similar visual examples to confirm I am not going crazy with the above observations?
EDIT: Just to provide info on my original concern with the AI shifting its units back.....it turns out that the traffic jam on the German/USSR frontline (in Poland area) when the scenario begins forces the AI to look for another way around. Unfortunately the mountain range in Hungary/Romania blocks this path for most units thus forcing the German units to go around via Yugoslavia > Romania and then back into USSR territory. Thus no concern about a lack of aggression
