trigger · has_deployed_air_force_size
Definition
- Supported scope:
COUNTRY - Supported target:
none
Description
checks for amount of aircrafts, additionally of a specified type
has_deployed_air_force_sizeCOUNTRYnonechecks for amount of aircrafts, additionally of a specified type
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_deployed_air_force_size is commonly used to check whether a country has deployed a sufficient number of aircraft to trigger specific national focus unlocks, events, or mission conditions. For example, it may require players to complete certain air force development goals before progressing to air combat-related technologies or diplomatic options. It can also be used in AI strategy evaluation: when a nation's air force size reaches a threshold, it automatically triggers support or alliance logic.
# Allows a decision to trigger when a country's deployed fighter aircraft count reaches a threshold
available = {
has_deployed_air_force_size = {
size > 100
type = fighter
}
}
[has_air_experience](/wiki/trigger/has_air_experience): When air force size requirements are met, it is often necessary to verify that sufficient air force experience has been accumulated. The two conditions combined unlock advanced air combat-related content.[any_owned_state](/wiki/trigger/any_owned_state): Typically paired with checks to ensure airports are constructed in owned states, guaranteeing that air force deployment has hardware infrastructure support.[add_tech_bonus](/wiki/effect/add_tech_bonus): Once air force size conditions are satisfied, grant players air force technology research bonuses as rewards, forming a mod progression chain of "meeting construction targets → receiving technology rewards."[building_count_trigger](/wiki/trigger/building_count_trigger): Combined with airport level checks to prevent logical contradictions like "having aircraft but no airports," making condition evaluation more rigorous.type field entries: When specifying aircraft types, you must use the game's internal equipment type names (such as fighter, cas, etc.). Using variant names or display names directly will cause the condition to never evaluate as true and typically produce no error message, making it extremely difficult to debug.