QQ: Was wondering what scripts, if any, affect the outcomes of the "Invite to Court" function - or is it all hardcoded & immutable?
Also, what scripts (if any) affect the probability of capturing enemy leaders in combat, and can they be extended to capture other people as well?
For example: You move into a county with a castle, a city and a temple. They raise their levies. The count leads the main force, the city & temple raise their own vassal levies. All are in the same territory as your invading army. So far, fairly normal. You engage each group in turn and have a tiny chance of capturing the leaders of those armies when you win (the count, the mayor, and the bishop, respectively).
What I am wondering is: Let's say that the count & his vassals aren't on good terms, and the mayor & bishop decide to stay home. Since they are not in the field, could it be scripted for there to be a chance to capture them when the territories that they occupy are taken (the city & temple)? What about the rest of their family, or their court?
I'd like to see a random chance to capture anyone who is unfortunate enough to be residing in a territory (castle, city, temple) when it is taken over through siege. So in the above example, add a chance to capture the mayor/bishop, along with random court members (including his family, if they are still in his court) when their respective holdings are taken with them still sitting inside.