trigger · has_attache
Definition
- Supported scope:
COUNTRY - Supported target:
THIS,ROOT,PREV,FROM,OWNER,CONTROLLER,OCCUPIED,CAPITAL
Description
Has attaché from any other country
has_attacheCOUNTRYTHIS, ROOT, PREV, FROM, OWNER, CONTROLLER, OCCUPIED, CAPITALHas attaché from any other 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.
has_attache is commonly used in diplomatic mods to check whether your country has accepted a military attaché from another nation, thereby unlocking specific decisions or triggering diplomatic events. For example, you can use it in a decision's available block to restrict military intelligence sharing bonuses only to countries that have accepted attachés.
# Decision: Request military aid through attaché channels
available = {
has_attache = yes
is_in_faction = no
}
[has_attache_from](/wiki/trigger/has_attache_from): While has_attache checks "whether any attaché exists," combining it with has_attache_from lets you pinpoint the specific source nation, enabling more granular diplomatic condition chains.[gives_military_access_to](/wiki/trigger/gives_military_access_to): Military attaché deployment typically comes with military access rights; using both together builds compound conditions for "deep military cooperation" checks.[add_opinion_modifier](/wiki/effect/add_opinion_modifier): After confirming an attaché exists, use this effect to dynamically adjust bilateral relationship values, simulating diplomatic goodwill changes brought by attaché presence.[any_allied_country](/wiki/trigger/any_allied_country): When iterating through allies, combine has_attache to check which allies have deployed attachés, useful for batch-triggering related diplomatic rewards.has_attache checks whether "this scope's nation has received an attaché from another nation" (passive recipient), not whether your nation deployed attachés abroad. Newcomers often reverse the logic, causing conditions to never trigger or create inverted logic.