trigger · has_attache_from
Definition
- Supported scope:
COUNTRY - Supported target:
THIS,ROOT,PREV,FROM,OWNER,CONTROLLER,OCCUPIED,CAPITAL
Description
Has attaché from specified country
has_attache_fromCOUNTRYTHIS, ROOT, PREV, FROM, OWNER, CONTROLLER, OCCUPIED, CAPITALHas attaché from specified 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_from is commonly used in diplomacy-focused mods to check whether your country has accepted a military attaché from another nation, thereby unlocking specific diplomatic decisions or technology sharing options. For example, after establishing an attaché relationship with an ally, you can trigger additional military aid event chains.
# Only allow this decision when a German attaché has been accepted
available = {
has_attache_from = GER
}
[has_attache](/wiki/trigger/has_attache) — Use has_attache first to check if your country has sent out military attachés, then pair it with has_attache_from to verify whether the bilateral attaché relationship is complete; commonly used for reciprocal diplomatic condition checks.[gives_military_access_to](/wiki/trigger/gives_military_access_to) — Attaché relationships are typically tied to military access rights; using both together establishes stricter military cooperation thresholds.[any_allied_country](/wiki/trigger/any_allied_country) — Nest this trigger within the scope loop of any_allied_country to batch-check whether any ally in the alliance has sent a military attaché.[diplomatic_relation](/wiki/effect/diplomatic_relation) — Once conditions are met, use this effect to further modify diplomatic relations, forming a complete logic chain of "has attaché → improve relations."COUNTRY scope; beginners often mistakenly place it in STATE scope (such as within limit blocks pointing to a specific state), resulting in script errors or silent failures.GER) or supported scope keywords (THIS/ROOT, etc.); directly entering a country name string or using scope keywords not in the whitelist will cause the condition to never evaluate to true.