ChangeOwnerOfSettlementAction
Last updated
Was this helpful?
Last updated
Was this helpful?
The function of this class is to set or change the owner of a settlement.
Here is a list of functions that detail different ways a settlement can change ownership:
ApplyByDefault(
hero,
settlement)
- Called at the start of a campaign or when a player cheats to attain a settlement
ApplyByKingDecision(
hero,
settlement)
ApplyBySiege(
newOwner,
capturerHero,
settlement)
ApplyByRevolt(
hero,
settlement)
ApplyByLeaveFaction(
hero,
settlement)
ApplyByBarter(
hero,
settlement)
ApplyByRemoveFaction(
settlement)
ApplyByDestroyClan(
settlement,
newOwner)
- Called when owner of settlement dies, when this happens, the fief is passed to a random child of the previous owner