Hands-On Usage
Commonly used to detect whether the current nation is currently exporting production licenses to a specific nation, for example in diplomatic events or decisions to determine "whether you have already established an authorized production relationship with that nation" before triggering subsequent options. A typical scenario is in military export mods—when the player grants allies authorization to produce tanks or aircraft, it unlocks special diplomatic rewards or relationship bonuses.
# In the available block of a decision, check whether this nation is licensing any equipment to Britain
available = {
is_licensing_any_to = ENG
}
Synergy
[has_any_license](/wiki/trigger/has_any_license):Mirror-image detection—has_any_license judges from the receiving end's perspective "whether any licenses are held," while is_licensing_any_to judges from the exporting end's perspective. Together they enable bilateral constraints on event triggers.
[create_production_license](/wiki/effect/create_production_license):When conditions are not met (no authorization yet), this effect can be used in event options to actively create the authorization relationship, forming a complete "detection → creation" logic loop with this trigger.
[any_allied_country](/wiki/trigger/any_allied_country):Often nested as an outer wrapper to iterate over all allies and check "whether any authorization exists toward any ally," avoiding hardcoded nation tags.
Common Pitfalls
- Direction confusion:Newcomers often mix up the "exporting nation" and "receiving nation"—
is_licensing_any_to = ENG means the current scoped nation is exporting authorization to ENG, not receiving authorization from ENG. To check "whether I hold someone else's authorization," use has_any_license instead.
- Scope not switched:When used inside iteration blocks like
any_allied_country or any_neighbor_country, the scope has already switched to the iterated nation. At that point, is_licensing_any_to checks the subject from that iterated nation's perspective, not the player's nation. Ensure the scope points to the correct license exporter.