Wiki

effect · kill_ideology_leader

Definition

  • Supported scope:COUNTRY
  • Supported target:none

Description

removes a ideology leader as leader of his party, making the next in line the new party leader

Hands-On Notes

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.

Hands-On Usage

kill_ideology_leader is commonly used in scripted events for storylines where "a party leader steps down or dies," such as a nation purging old ruling party leaders after a civil war, or forcibly replacing an ideology's figurehead through a focus. This command removes the specified ideology's party leader from play, with the backup candidate automatically assuming the position, requiring no manual successor designation.

# In a certain event, the fascist party leader is forced to step down and is replaced by the next-in-line candidate
country_event = {
    id = example.1
    option = {
        name = example.1.a
        kill_ideology_leader = {
            ideology = fascism
        }
    }
}

Synergy

  • [create_country_leader](/wiki/effect/create_country_leader): After removing the old leader, if the backup candidate is unsatisfactory, you can immediately create a new country/party leader to precisely control the successor's traits and appearance.
  • [add_popularity](/wiki/effect/add_popularity): Removing a leader is typically accompanied by shifts in that ideology's support, which can be paired with this command to simulate political realignment and shifts in public sentiment.
  • [has_country_leader_ideology](/wiki/trigger/has_country_leader_ideology): Verify the current ruling ideology with this trigger before execution to avoid triggering the command in the wrong political situation, which could cause logic conflicts.
  • [country_event](/wiki/effect/country_event): Used to trigger subsequent narrative events after the leader is removed, forming a complete chain of storytelling.

Common Pitfalls

  1. Confusing "party leader" with "country leader": This command removes the party leader of an ideology, not the currently ruling country leader; if the target is simultaneously a country leader, additional handling is required, otherwise the ruling figure will not automatically leave office due to this command.
  2. No effect when backup candidates don't exist: If no second-in-line backup leader is predefined under that ideology, the command may leave the party leader position vacant or cause anomalies after execution. You must configure backup candidates in advance in the characters block.