One of the scripts I'm writing involves faction-wide bonuses and penalties based on player decisions and counters. The only way to apply penalties/bonuses is by using buildings, so obviously I'll be using create_building and destroy_buildings command to make it work. The easiest way to get a factionwide bonus is using the faction_capabilities function, as then it only needs to be present in one settlement.
My initial sentiment was checking for the capital and building it there, with supplementary monitors for the capital moving. Problem is there's no condition that lets you know if a settlement is a capital, and the only event that involves the capital doesn't export settlement, so there's no way to set a counter to monitor the capital via that either.
Is anyone aware of a good method for getting a factionwide building into one settlement(and back out) without having to check 200 settlements for ownership and using local bonuses(since the effects shouldn't transfer to the AI)?






Reply With Quote







