Wiki

trigger · num_fake_intel_divisions

Definition

  • Supported scope:COUNTRY
  • Supported target:none

Description

Will compare towards the amount of fake intel divisions a country has control over. .

实战 · 配合 · 坑

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

实战用法

num_fake_intel_divisions 常用于间谍/情报战相关的 mod 场景,例如检测某国通过情报机构布置的虚假师数量是否达到阈值,以触发特殊事件、决议或解锁隐藏选项。典型应用包括:当某国拥有足够数量的幽灵师时,允许其执行欺骗性战略任务,或触发对手国家的反情报响应事件。

# 在决议的 available 块中:检查本国控制的虚假情报师数量是否足够
available = {
    num_fake_intel_divisions > 2
}

配合关系

  • [has_intelligence_agency](/wiki/trigger/has_intelligence_agency) → 实际代码中通常先确认情报机构存在,再检查虚假师数量才有实际意义(注意:请用白名单中的实际命令替代)
  • [compare_intel_with](/wiki/trigger/compare_intel_with) — 与比较情报值配合使用,可构建多维度的情报优势判断逻辑,例如同时要求己方情报领先且拥有足够数量的虚假师。
  • [has_active_mission](/wiki/trigger/has_active_mission) — 虚假师通常由特定情报行动任务产生,配合检测某项行动任务是否激活,可确保条件更精准地反映当前情报战状态。
  • [add_intel](/wiki/effect/add_intel) — 当虚假师数量满足条件时,可作为奖励或惩罚手段向目标国增减情报值,形成完整的情报博弈效果链。

常见坑

  1. 数值方向混淆:该 trigger 判断的是本 scope 国家「控制」的虚假师数量,新手容易误以为是敌方或全局数量,在多国对抗场景中忘记切换到正确的国家 scope,导致条件判断方向相反。
  2. 与普通师数量 trigger 混用num_fake_intel_divisions 统计的是情报欺骗性虚假师,而非真实部署师,不可与 has_army_sizedivisions_in_state 等真实兵力 trigger 混合理解,否则会出现条件永远为假或逻辑错误的 bug。

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

num_fake_intel_divisions is commonly used in spy/intelligence warfare-related mod scenarios, such as detecting whether a country has deployed enough fake divisions through its intelligence agency to trigger special events, decisions, or unlock hidden options. Typical applications include: when a country possesses sufficient ghost divisions, allowing it to execute deceptive strategic operations, or triggering counter-intelligence response events from opposing nations.

# In a decision's available block: check if this country controls enough fake intel divisions
available = {
    num_fake_intel_divisions > 2
}

Synergy

  • [has_intelligence_agency](/wiki/trigger/has_intelligence_agency) → In practical scripting, it typically makes sense to first confirm the intelligence agency exists before checking fake division counts (note: use actual commands from the whitelist as replacements)
  • [compare_intel_with](/wiki/trigger/compare_intel_with) — Used in conjunction with intelligence value comparisons, allowing you to construct multi-dimensional intelligence advantage logic, such as requiring both intelligence superiority and sufficient fake divisions simultaneously.
  • [has_active_mission](/wiki/trigger/has_active_mission) — Fake divisions are typically generated by specific intelligence operation tasks; combined with checking whether a particular operation is active, this ensures conditions more accurately reflect the current intelligence warfare state.
  • [add_intel](/wiki/effect/add_intel) — When fake division counts meet conditions, this can serve as a reward or penalty mechanism to increase or decrease intelligence values for target countries, forming a complete intelligence competition effect chain.

Common Pitfalls

  1. Confusion about value direction: This trigger judges the number of fake divisions controlled by the current scope country; beginners often mistakenly think it refers to enemy or global counts, forgetting to switch to the correct country scope in multi-nation conflict scenarios, resulting in reversed condition logic.
  2. Mixing with regular division count triggers: num_fake_intel_divisions counts deceptive fake divisions from intelligence operations, not actual deployed forces, and should not be conflated with real strength triggers like has_army_size or divisions_in_state, otherwise you may encounter bugs where conditions are always false or logic errors occur.