any_country_with_original_tag_of — Checks if any country that has an original tag that matches any of the provided countries fulfill the specified triggers.
any_enemy_country — check if any enemy country meets the trigger. tooltip=key can be defined to override title
any_guaranteed_country — check if any country with current scoped country guarantees. Example:
any_home_area_neighbor_country — check if any neighbor country in the home area meets the trigger. tooltip=key can be defined to override title
any_navy_leader — Checks if at least one Navy Leader of the Country in scope matches the triggers.
any_neighbor_country — check if any neighbor country meets the trigger. tooltip=key can be defined to override title
any_neighbor_state — check if any neighbor state meets the trigger. tooltip=key can be defined to override title
any_occupied_country — check if any any occupied meets the trigger. tooltip=key can be defined to override title
any_of — Runs a loop on an array and check a trigger for each value, if any true returns true. otherwise returns false
any_of_scopes — Runs a loop on an array and check a trigger for each scope in it, if any true returns true. otherwise returns false
any_operative_leader — check if any operatives meets the trigger. tooltip=key can be defined to override title
any_other_country — check if any other country meets the trigger. Excludes current country. tooltip=key can be defined to override title
any_other_country_of — Checks if any of the provided countries (except for the current country) fulfill the specified triggers.
any_other_country_with_original_tag_of — Checks if any country that has an original tag that matches any of the provided countries and isn't the current country fulfill the specifie…
any_owned_state — check if any owned state meets the trigger. tooltip=key can be defined to override title
any_province_building_level — In the current state, checks if any province within the specified limit has a building of the specified level.
any_purchase_contract — Checks if at least one Purchase contract of the Country in scope matches the triggers.
any_scientist — Checks if at least one scientist of the Country in scope matches the triggers.
any_state — check if any state meets the trigger. tooltip=key can be defined to override title
any_state_division — check if any division meets the trigger. tooltip=key can be defined to override title
any_state_in — check if any state in the given category meets the trigger.
any_state_of — Checks if any of the provided states fulfill the specified triggers.
any_subject_country — check if any subject country meets the trigger. tooltip=key can be defined to override title
any_unit_leader — Checks if at least one Unit Leader of the Country in scope matches the triggers.
any_war_score — compares the warscore of all wars in a country to see if any fullfills the comparison condition 0-100 - Example: any_war_score > 40
average_stats — Compares the average stats for a unit leader.
B
building_count_trigger — Checks if the current scope has the specified amount of the specified building.
buyer — Check the buyer country. Example: buyer = GER
C
can_assign_supportive_scientist_to_faction — Checks if the faction from the country in scope has a free slot for a supportive scientist for the country with the specialization type
can_be_captured — can_be_captured = yes/no - Checks if the current character can be captured while deployed in a division
can_be_country_leader — Returns true if specified character has a least one country leader role.
can_build_railway — Checks if a railway can be built according to specifications. Example:
can_construct_building — Checks if the country (as ROOT) and state in scope can build a building in the state.
can_declare_war_on — checks if the country could potentially declare a war on the target ( according to game rules, relationship, etc... ). Example can_declare_w…
can_research — check if country can research technology
convoy_threat — A trigger to check convoy threat for a country. Controlled by NAVAL_CONVOY_DANGER defines. Returns a value between 0 and 1. Example convoy_t…
core_compliance — Compares the core (average of all occupied states) compliance value of occupied_country_tag that is occuppied by the country in current scop…
core_resistance — Compares the core (average of all occupied states) resistance value of occupied_country_tag that is occuppied by the country in current scop…
custom_trigger_tooltip — Alias for [custom_override_tooltip](#custom_override_tooltip) trigger (see that trigger for more info). Kept for backward compatibility.
has_completed_custom_achievement — Return true if the input achievement is found in currently loaded mods, and if this achievement has been completed (either in current game o…
has_mined — Checks the mines planted by the country of the parent scope on the coastline of the target countryE.g. true if Germany has more than 1000 mi…
has_mines — Checks if a region has amount of mines.
has_mio_equipment_type — Checks if the Military Industrial Organisation in scope has the input equipment type.
has_mio_flag — Check if flag has been set within the military industrial organization in scope.
has_mio_number_of_completed_traits — Make comparaison on the number of unlocked traits of the military industrial organization in the scope.
has_mio_policy — Checks if the Military Industrial Organisation in scope has an allowed policy matching the input token.
has_mio_policy_active — Checks if the Military Industrial Organisation in scope has an allowed matching the input token, which is currently attached to the MIO.
has_mio_research_category — Checks if the Military Industrial Organisation in scope has the input research category.
has_mio_size — Make comparaison on the size of the military industrial organization in the scope.
has_mio_trait — Checks if the Military Industrial Organisation in scope has a trait matching the input token.
has_nationality — Checks whether the operative has the specified nationality.
has_naval_control — Checks if friendly nations and country scope together has enough naval dominance to assert control in strategic region.
has_scientist_level — Checks if the scientist of the character in scope matches the skill level condition for a specialization. Supports < > = operators.
has_scientist_specialization — Checks if the country in scope has a scientist with a skill level of at least 1 in specialization.
has_shine_effect_on_focus — Check if country has shine effect on focus (either manually achieved or by being worked on).
has_stability — check value of stability 0-1: Example has_stability < 0.6
has_start_date — Compare the initial start date of current game.
has_truce_with — has_truce_with = yes/no - Checks if the country has truce with the specified country
has_unit_leader — check if country has unit leader with specified ID. Don't localize this. Tooltip only for debug.
has_unit_leader_flag — This trigger is deprecated in favor of has_character_flag (which does the same)has a character flag been setCheck flag val date set and days…
has_unit_type — Check if the combatant has at least one of the provided unit types.
has_variable — Checks if a variable exists in a scope
has_volunteers_amount_from — Compares number of volunteers from the country. Example: has_volunteers_amount_from = { tag = ITA count > 1 }
intel_level_over — Compare the absolute, percentage based, intel level the scoped country has over
is_active_decryption_bonuses_enabled — checks if the country activated their active cipher decryption bonuses. Example is_active_decryption_bonuses_enabled = GER
is_active_scientist — Checks if the scientist of the character in scope is assigned to a project
is_advisor — is_advisor = yes/no - Checks if the current character is an advisor
is_leader_visible — Checks if the leader is visible to its owner (is_visible trigger in the leader's script)
is_leading_army — is_leading_army = yes/no - Checks if the current unit leader is leading a single army (not army group)
is_leading_army_group — is_leading_army_group = yes/no - Checks if the current unit leader is leading an army group (not single army)
is_leading_army_in_province — is_leading_army_in_province = province_id # checks if the current unit leader is leading an army that has any division in a specific provinc…
meta_trigger — meta triggers can be used for building triggers from strings and running them. following example will test if Germany has 42 pp:
min_planning — check if side has maximal planning bonus
mine_threat — A trigger to check how dangerous enemy mines are for a country. Controlled by NAVAL_MINE_DANGER defines. Returns a value between 0 and 1. Ex…
not_already_hired_except_as — not_already_hired_except_as = <slot> - For characters with several advisor roles, checks if the current character is already assigned in ano…
num_battalions_in_states — Checks number of battalions in states (optionally filtering on battalion types). Using a custom tooltip is highly recommended since the defa…
num_divisions — Will compare towards the amount of divisions a country has control over, if strength matters use has_army_size.
num_divisions_in_states — Checks number of divisions in states (optionally filtering on majority division types). Using a custom tooltip is highly recommended since t…
num_faction_members — Compares the number of members in the faction for the current country.
num_fake_intel_divisions — Will compare towards the amount of fake intel divisions a country has control over. .
num_nukes_left_to_drop — number of nukes left to drop during this game tick (only useful in-between nuke drops, like in on_nuke_drop on-action, for example)
stockpile_ratio — Compares the ratio of equipment archetype in stockpile vs used. a value of 2 means we have double in stockpile of what is fielded or in trai…
strength_ratio — Compares the estimated army strength between the scope country and the one set with 'tag'
subtract_from_temp_variable — Subtracts a value, a variable, or a [math expression](script_math_expression.md) from a temporary variable.