Wiki

trigger · command_power

Definition

  • Supported scope:COUNTRY
  • Supported target:none

Description

Checks if available command power is more or less that specified value 
 command_power > 1.5

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

command_power is commonly used to restrict the activation conditions of high-cost decisions or national focus rewards. For example, you can allow players to trigger specific military decisions only when command power is sufficient, or evaluate in AI logic whether a large-scale strategic operation should be launched. Below is a typical example of an available condition in a decision:

available = {
    command_power > 50
    has_war = yes
}

Synergy

  • [command_power_daily](/wiki/trigger/command_power_daily): Checks the daily command power recovery rate. Commonly used together with command_power to assess a nation's "command power health," avoiding judgments based solely on current reserves.
  • [add_command_power](/wiki/effect/add_command_power): Triggers a replenishment effect when command_power falls below a threshold, frequently seen in effect blocks of periodic events or decisions as a fallback compensation.
  • [has_country_flag](/wiki/trigger/has_country_flag): Works in conjunction with country flag markers to prevent command power conditions from being triggered repeatedly. Often appears together in limit blocks to protect event uniqueness.
  • [any_army_leader](/wiki/trigger/any_army_leader): Command power expenditure is closely related to general skills. Using them together allows you to check command power while simultaneously verifying that general status meets additional conditions.

Common Pitfalls

  1. Value unit confusion: The value of command_power is an actual numeric value (0–100). Beginners often mistakenly enter percentage decimals (such as > 0.5 for 50%), when in fact you should directly input the point value displayed in-game. Otherwise, the condition will almost always evaluate to true.
  2. Usage outside COUNTRY scope: This trigger only works under country scope. If mistakenly placed in inner blocks of state scope such as any_owned_state, the game will not error but the condition evaluation becomes unpredictable. Always ensure the outer scope is a country scope.