Hands-On Usage
In political events or national focuses, when a leader loses their position of power due to a coup, exile, or ideological shift, you can use this effect to remove them from their leader role under a specific ideology without completely deleting the character. For example, in post-war reconstruction scripts, you can transform a character who previously held a fascist leader role into a regular person, then assign them a new ideological leader role.
# Within a national focus or event option, remove a character from their fascist leader position
GER = {
remove_country_leader_role = {
character = "GER_Adolf_Hitler"
ideology = fascism
}
}
Synergy
[add_country_leader_role](/wiki/effect/add_country_leader_role): After removing the old ideological role, immediately assign a new ideological leader role to the same character, achieving "ideological conversion" without destroying the character itself.
[add_country_leader_trait](/wiki/effect/add_country_leader_trait) / [remove_country_leader_trait](/wiki/effect/remove_country_leader_trait): Before and after resetting a leader role, synchronously clean up or add leader traits matching the character's new position to maintain numerical consistency.
[set_nationality](/wiki/effect/set_nationality): When a character needs to be transferred to an exile government or another nation due to regime change, first remove their leader role from the original nation before changing nationality for a more complete logical flow.
[can_be_country_leader](/wiki/trigger/can_be_country_leader): Before executing the removal, use this trigger to verify whether the character currently actually holds that leader role, avoiding script errors or unexpected log warnings.
Common Pitfalls
- Forgetting to specify the
ideology field: A character can simultaneously hold leader roles across multiple ideologies (such as being both a democratic and neutral leader). If you omit ideology, the script will fail to execute properly due to missing required fields, resulting in the character not being removed while also producing no obvious error—making it difficult to debug.
- Omitting the
character token when in country scope: The character field can only be omitted when calling within CHARACTER scope; if you don't specify character under COUNTRY scope, the game cannot determine the target character and the effect silently fails.