trigger · is_staging_coup
Definition
- Supported scope:
COUNTRY - Supported target:
none
Description
is_staging_coup = yes - Returns true if current country is staging a coup in another any country.
is_staging_coupCOUNTRYnoneis_staging_coup = yes - Returns true if current country is staging a coup in another any country.
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.
is_staging_coup is commonly used to prevent certain diplomatic or intelligence decisions from triggering while your country is already staging a coup, avoiding logical conflicts. For example, in custom intelligence mods, you can use it to lock the "stage another coup" decision, ensuring only one target can be acted upon at a time.
# available block of a certain intelligence decision — prevent triggering another coup while one is already planned for this country
available = {
NOT = { is_staging_coup = yes }
has_country_flag = intelligence_network_ready
}
[has_civil_war](/wiki/trigger/has_civil_war): A successful coup often triggers civil war; the two are frequently combined in the same trigger block to determine whether the situation has already "entered hot conflict phase," thus preventing duplicate operations.[civilwar_target](/wiki/trigger/civilwar_target): Used to further confirm which country is the target of the current country's coup; used together with is_staging_coup, it can form the precise judgment of "staging a coup against country X."[has_country_flag](/wiki/trigger/has_country_flag): Commonly used alongside custom flags, setting/checking markers at various stages of the coup process; is_staging_coup serves as a double-check confirmation of the game's native state.[any_operative_leader](/wiki/trigger/any_operative_leader): Coup operations rely on operatives; frequently combined with this trigger to ensure the country has available operative resources before attempting a coup.is_staging_coup = yes, not forms like is_staging_coup = GER, otherwise it will cause parsing errors or silent failures.