Re: Official 'Third Age 1.0 - 3.2 Question & Answer' Thread
The only way to avoid it is to attack an enemy army that is adiacent to the settlement in question; when you do this the garrison of the settlement will enter the battlefield as reinforcements (thus no script activation).
You have to make them rout and kill as much as possible of them so that no survivors will be there after the battle and the settlement will be empty, and then you can simply occupy it.
One notice: when you take prisoners and ransom them, if the AI pays, they usually retreat into the settlement, so that you cannot occupy it immediatly, but have to siege it... soooo think carefully about ransoming/killing them (usually AI do not pay if the amount is too small or if too big)