trigger · is_exiled_leader
Definition
- Supported scope:
CHARACTER - Supported target:
none
Description
Checks if scope leader is from an exiled government. is_exiled_leader = yes
is_exiled_leaderCHARACTERnoneChecks if scope leader is from an exiled government. is_exiled_leader = yes
Hands-on notes are AI-generated and checked against the vanilla command vocabulary — treat them as a starting point, not authoritative reference. The definition above is the game's own documentation.
In exiled government-related mods, this is commonly used to filter leaders or advisors belonging to exiled regimes, enabling special bonuses or restrictions on their assigned roles. For example, when a character is the leader of an exiled government, you can add exclusive traits or trigger special events:
limit = { is_exiled_leader = yes } add_trait = { token = exiled_veteran }
[is_exiled_leader_from](/wiki/trigger/is_exiled_leader_from): Often used together with this trigger—is_exiled_leader determines whether a character belongs to any exiled government, while is_exiled_leader_from further specifies the origin country for more precise filtering.[remove_exile_tag](/wiki/effect/remove_exile_tag): After confirming a character is an exiled leader, you can invoke this effect under certain conditions to remove their exile tag, implementing a narrative of "returning to legitimacy."[is_country_leader](/wiki/trigger/is_country_leader): Combined with this trigger, you can distinguish "whether the character simultaneously holds the position of exiled nation's country leader," useful for handling complex overlapping identities within exiled governments.[add_country_leader_role](/wiki/effect/add_country_leader_role): After confirming a character is an exiled leader, use this effect to assign them additional country leader roles, expanding the leadership composition of the exiled government.is_exiled_leader only works within CHARACTER scope. If written directly in country scope (such as in a focus's available block without first entering character scope), it will cause script errors or always return false. You must enter character scope first via any_character, every_character, or similar methods before calling it.is_exiled_leader_from: Beginners often mistakenly assume that is_exiled_leader = yes implicitly includes origin country checking, but it only verifies the fact of "being an exiled government member" without carrying any country information. If you need to judge based on a specific origin country, you must additionally use is_exiled_leader_from.