Wiki

effect · execute_operation_coordinated_strike

Definition

  • Supported scope:OPERATION
  • Supported target:THIS, ROOT, PREV, FROM, OWNER, CONTROLLER, OCCUPIED, CAPITAL

Description

Special effect for executing the Coordinated Strike Operation. amount determines how often the simulation is run

实战 · 配合 · 坑

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

实战用法

此 effect 专门用于触发"协调打击"行动的模拟逻辑,适合在自定义情报行动 mod 中,当玩家设计新的空地协同或破坏作战任务时调用其核心执行流程。amount 参数控制模拟运行次数,数值越高意味着行动效果的随机抽样越充分,适合需要"多轮命中判定"的高烈度打击场景。

# 在自定义情报行动的 on_start 或 immediate 块中调用
on_start = {
    execute_operation_coordinated_strike = {
        amount = 3
    }
}

配合关系

  • [is_operation_type](/wiki/trigger/is_operation_type):在执行前先校验当前行动类型,确保此 effect 只在协调打击行动作用域下触发,避免误用于其他行动。
  • [every_operative](/wiki/effect/every_operative):对参与此次行动的所有特工批量施加状态修改(如增加暴露风险或经验),与打击模拟结果联动。
  • [any_operative_leader](/wiki/trigger/any_operative_leader):用于条件判断,在执行打击模拟前检查是否存在满足特定特质的特工领袖,实现精英特工加成逻辑。
  • [random_operative](/wiki/effect/random_operative):在模拟结束后随机选取一名参与特工施加特殊后果(如受伤或牺牲),增加行动结果的随机性叙事。

常见坑

  1. 忽略 scope 限制:此 effect 必须在 OPERATION scope 下调用,若直接写在国家或州省 scope 的 effect 块中会静默失效甚至报错,务必确认调用位置处于正确的行动上下文。
  2. amount 缺失或为零:忘记填写 amount 字段,或将其设为 0,会导致模拟不运行、行动效果完全不生效,但游戏不一定会给出明显报错提示,排查时容易遗漏。

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

This effect is specifically designed to trigger the simulation logic of "Coordinated Strike" operations, making it ideal for custom intelligence operation mods where designers call its core execution flow when creating new air-ground coordination or sabotage mission variants. The amount parameter controls how many simulation iterations run—higher values mean more comprehensive random sampling of operation outcomes, suitable for high-intensity strike scenarios requiring "multi-round hit resolution".

# Call this within the on_start or immediate block of a custom intelligence operation
on_start = {
    execute_operation_coordinated_strike = {
        amount = 3
    }
}

Synergy

  • [is_operation_type](/wiki/trigger/is_operation_type): Validate the current operation type before execution to ensure this effect only triggers within Coordinated Strike operation scope, preventing accidental application to other operation types.
  • [every_operative](/wiki/effect/every_operative): Apply status modifications in bulk to all operatives participating in this operation (such as increasing exposure risk or experience), synchronized with strike simulation results.
  • [any_operative_leader](/wiki/trigger/any_operative_leader): Use for conditional checks to verify the existence of operative leaders meeting specific traits before running the strike simulation, enabling elite operative bonus logic.
  • [random_operative](/wiki/effect/random_operative): After simulation completes, randomly select one participating operative to apply special consequences (such as injury or death), adding narrative randomness to operation outcomes.

Common Pitfalls

  1. Ignoring scope restrictions: This effect must be called within OPERATION scope. Placing it directly in country or state scope effect blocks will silently fail or cause errors—always verify the call site is within the correct operation context.
  2. Missing or zero amount parameter: Forgetting to fill in the amount field or setting it to 0 causes the simulation to skip entirely and operation effects to not trigger, but the game may not always display an obvious error message, making this easy to overlook during debugging.