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

实战 · 配合 · 坑

实战内容由 AI 生成,并已对照 vanilla 命令词表校验 —— 请当作起点而非权威依据。上方的定义节才是游戏自带文档原文。

实战用法

kill_ideology_leader 常用于剧本事件中"政党领袖下台/死亡"的桥段,例如某国在内战后清洗旧执政党领导人,或通过焦点强制更换意识形态代言人。该命令会让指定意识形态的政党领袖退出舞台,由候补人物自动接任,无需手动指定继任者。

# 某事件中,法西斯政党领袖被迫下台,由次位候补接任
country_event = {
    id = example.1
    option = {
        name = example.1.a
        kill_ideology_leader = {
            ideology = fascism
        }
    }
}

配合关系

  • [create_country_leader](/wiki/effect/create_country_leader):在移除旧领袖后,若候补人物不理想,可立即创建一个新的国家/政党领袖来精确控制继任者的特质与外貌。
  • [add_popularity](/wiki/effect/add_popularity):清洗领袖后通常伴随该意识形态支持率的变动,配合此命令模拟政治洗牌带来的民心波动。
  • [has_country_leader_ideology](/wiki/trigger/has_country_leader_ideology):在执行前先用此触发器校验当前执政意识形态,避免在错误的政治局面下触发命令导致逻辑混乱。
  • [country_event](/wiki/effect/country_event):用于在领袖被移除后接续触发后续剧情事件,形成完整的叙事链条。

常见坑

  1. 未区分"政党领袖"与"国家领袖":此命令移除的是意识形态的政党领袖,而非当前执政的国家领袖;若目标人物同时是国家领袖,需要额外处理,否则执政人物不会因此命令自动卸任。
  2. 候补人物不存在时无效果:若该意识形态下没有预先定义第二顺位的候补领袖,命令执行后政党领袖位置可能直接空缺或出现异常,务必在 characters 块中提前配置候补人选。

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.