I am trying to have a permanent garrison in the settlements. At the start I have the guys in descr_strat.txt and they are immobile due to ancillary. I check the existence of ancillary sometime every turn to see if they are still present. If they are not I respawn them but here is the problem:
1) Spawn_army command cannot spawn characters inside. When specified the location of a settlement they will appear next to it.
->
I therefore use move command like:
move garrison_of_london, 111, 282
and then I give them the ancillary:
console_command give_ancillary garrison_of_london immobile_london_anc 1
For player everything works flawlessly. For AI the move command is issued but it never executes and it gives the ancil right away. Since the effect (MovementPoints -100) of the ancil takes effect only the next turn I can confirm that the newly spawned character can move but he just don't if he is AI so it looks like this in log:
07:47:10.620 [game.script.exec] [trace] exec <move> at line 3860 in mods/DotS/data/world/maps/campaign/imperial_campaign/campaign_script.txt
07:47:10.620 [game.script.exec] [trace] exec <console_command> at line 3861 in mods/DotS/data/world/maps/campaign/imperial_campaign/campaign_script.txt
I tried putting it at various places. Even delaying the ancil award from the move command like having move at the start of turn and ancil at the end. No luck. Why don't they move? Any ideas?
Thx.





Reply With Quote






