Hey!
Currently im scripting a mongol invasion for Stainless Steel Mod.
So far so good, i could actually make the characters walk around normally on the map, defeat obstacles if any came up, seige the certain settlement, and then attack it the next turn (with seige equipment on).

The problem is that the characters that land inside the settlement after the attack can no longer be scripted to move around... and i don't want to have Genghis Khan, the mighty conqueror, to sit around in a settlement and only government it. I already thought of a way in which i could just kill a character and then spawn it a tile next to the settlement, but i can't do that with the leader and the army won't move out of the city either
Does anyone have any idea on how to move a named character out of a settlement thought scripting?

Thanks!