Official Doc: Effects | 官方文档:影响
Table of Content
Effects for scope CHARACTER
- add_advisor_role
- add_attack
- add_coordination
- add_corps_commander_role
- add_country_leader_role
- add_country_leader_trait
- add_defense
- add_dynamic_modifier
- add_field_marshal_role
- add_logistics
- add_maneuver
- add_max_trait
- add_nationality
- add_naval_commander_role
- add_planning
- add_random_trait
- add_skill_level
- add_temporary_buff_to_units
- add_timed_unit_leader_trait
- add_trait
- add_unit_leader_trait
- boost_planning
- capture_operative
- clr_character_flag
- clr_unit_leader_flag
- demote_leader
- force_operative_leader_into_hiding
- force_update_dynamic_modifier
- free_operative
- gain_xp
- harm_operative_leader
- kill_operative
- modify_character_flag
- modify_unit_leader_flag
- operative_leader_event
- print_variables
- promote_character
- promote_leader
- remove_advisor_role
- remove_country_leader_role
- remove_country_leader_trait
- remove_dynamic_modifier
- remove_exile_tag
- remove_trait
- remove_unit_leader
- remove_unit_leader_role
- remove_unit_leader_trait
- replace_unit_leader_trait
- retire
- set_character_flag
- set_character_name
- set_leader_description
- set_leader_name
- set_leader_portrait
- set_nationality
- set_portraits
- set_unit_leader_flag
- supply_units
- swap_country_leader_traits
- turn_operative
- unit_leader_event
Effects for scope COUNTRY
- Official Doc: Effects | 官方文档:影响
- Table of Content
- Effects for scope CHARACTER
- Effects for scope COUNTRY
- Effects for scope OPERATION
- Effects for scope STATE
- Effects for scope STRATEGIC_REGION
- Effects for scope any
- All Effects
- activate_advisor
- activate_decision
- activate_mission
- activate_mission_tooltip
- activate_targeted_decision
- add_ace
- add_advisor_role
- add_ai_strategy
- add_attack
- add_autonomy_ratio
- add_autonomy_score
- add_building_construction
- add_civil_war_target
- add_claim_by
- add_collaboration
- add_command_power
- add_compliance
- add_coordination
- add_core_of
- add_corps_commander_role
- add_country_leader_role
- add_country_leader_trait
- add_days_mission_timeout
- add_days_remove
- add_decryption
- add_defense
- add_doctrine_cost_reduction
- add_dynamic_modifier
- add_equipment_production
- add_equipment_to_stockpile
- add_extra_state_shared_building_slots
- add_field_marshal_role
- add_fuel
- add_ideas
- add_intel
- add_legitimacy
- add_logistics
- add_maneuver
- add_manpower
- add_max_trait
- add_mines
- add_named_threat
- add_nationality
- add_naval_commander_role
- add_nuclear_bombs
- add_offsite_building
- add_operation_token
- add_opinion_modifier
- add_planning
- add_political_power
- add_popularity
- add_province_modifier
- add_random_trait
- add_region_efficiency
- add_relation_modifier
- add_research_slot
- add_resistance
- add_resistance_target
- add_resource
- add_scaled_political_power
- add_skill_level
- add_stability
- add_state_claim
- add_state_core
- add_state_modifier
- add_tech_bonus
- add_temporary_buff_to_units
- add_threat
- add_timed_idea
- add_timed_unit_leader_trait
- add_to_array
- add_to_faction
- add_to_tech_sharing_group
- add_to_temp_array
- add_to_temp_variable
- add_to_variable
- add_to_war
- add_trait
- add_unit_leader_trait
- add_victory_points
- add_war_support
- ai_message
- air_experience
- annex_country
- army_experience
- become_exiled_in
- boost_planning
- build_railway
- cancel_border_war
- cancel_resistance
- capture_operative
- change_tag_from
- character_list_tooltip
- clamp_temp_variable
- clamp_variable
- clear_array
- clear_global_event_target
- clear_global_event_targets
- clear_temp_array
- clear_variable
- clr_character_flag
- clr_country_flag
- clr_global_flag
- clr_state_flag
- clr_unit_leader_flag
- complete_national_focus
- country_event
- country_lock_all_division_template
- create_corps_commander
- create_country_leader
- create_dynamic_country
- create_entity
- create_equipment_variant
- create_faction
- create_field_marshal
- create_import
- create_intelligence_agency
- create_navy_leader
- create_operative_leader
- create_production_license
- create_railway_gun
- create_ship
- create_unit
- create_wargoal
- custom_effect_tooltip
- damage_building
- damage_units
- deactivate_advisor
- declare_war_on
- delete_unit
- delete_unit_template_and_units
- delete_units
- demote_leader
- destroy_entity
- destroy_ships
- diplomatic_relation
- dismantle_faction
- divide_temp_variable
- divide_variable
- division_template
- drop_cosmetic_tag
- effect_tooltip
- end_exile
- end_puppet
- every_army_leader
- every_character
- every_controlled_state
- every_core_state
- every_country
- every_country_with_original_tag
- every_enemy_country
- every_navy_leader
- every_neighbor_country
- every_neighbor_state
- every_occupied_country
- every_operative
- every_other_country
- every_owned_state
- every_possible_country
- every_state
- every_subject_country
- every_unit_leader
- execute_operation_coordinated_strike
- finalize_border_war
- find_highest_in_array
- find_lowest_in_array
- for_each_loop
- for_each_scope_loop
- for_loop_effect
- force_disable_resistance
- force_enable_resistance
- force_operative_leader_into_hiding
- force_update_dynamic_modifier
- force_update_map_mode
- free_operative
- free_random_operative
- gain_xp
- generate_character
- get_highest_scored_country
- get_highest_scored_country_temp
- get_sorted_scored_countries
- get_sorted_scored_countries_temp
- give_guarantee
- give_military_access
- give_resource_rights
- global_every_army_leader
- goto_province
- goto_state
- harm_operative_leader
- hidden_effect
- hold_election
- if
- inherit_technology
- kill_country_leader
- kill_ideology_leader
- kill_operative
- launch_nuke
- leave_faction
- load_focus_tree
- load_oob
- log
- mark_focus_tree_layout_dirty
- meta_effect
- modify_building_resources
- modify_character_flag
- modify_country_flag
- modify_global_flag
- modify_state_flag
- modify_tech_sharing_bonus
- modify_timed_idea
- modify_unit_leader_flag
- modulo_temp_variable
- modulo_variable
- multiply_temp_variable
- multiply_variable
- navy_experience
- news_event
- operative_leader_event
- party_leader
- play_song
- print_variables
- promote_character
- promote_leader
- puppet
- random
- random_army_leader
- random_character
- random_controlled_state
- random_core_state
- random_country
- random_country_with_original_tag
- random_enemy_country
- random_list
- random_navy_leader
- random_neighbor_country
- random_neighbor_state
- random_occupied_country
- random_operative
- random_other_country
- random_owned_controlled_state
- random_owned_state
- random_scope_in_array
- random_state
- random_subject_country
- random_unit_leader
- randomize_temp_variable
- randomize_variable
- randomize_weather
- recall_attache
- recall_volunteers_from
- recruit_character
- release
- release_autonomy
- release_on_controlled
- release_puppet
- release_puppet_on_controlled
- remove_advisor_role
- remove_building
- remove_claim_by
- remove_core_of
- remove_country_leader_role
- remove_country_leader_trait
- remove_decision
- remove_decision_on_cooldown
- remove_dynamic_modifier
- remove_exile_tag
- remove_from_array
- remove_from_faction
- remove_from_tech_sharing_group
- remove_from_temp_array
- remove_ideas
- remove_ideas_with_trait
- remove_mission
- remove_operation_token
- remove_opinion_modifier
- remove_province_modifier
- remove_relation_modifier
- remove_resistance_target
- remove_resource_rights
- remove_state_claim
- remove_state_core
- remove_targeted_decision
- remove_trait
- remove_unit_leader
- remove_unit_leader_role
- remove_unit_leader_trait
- remove_wargoal
- replace_unit_leader_trait
- reserve_dynamic_country
- reset_province_name
- reset_state_name
- resize_array
- resize_temp_array
- retire
- retire_character
- retire_country_leader
- retire_ideology_leader
- reverse_add_opinion_modifier
- round_temp_variable
- round_variable
- save_event_target_as
- save_global_event_target_as
- scoped_play_song
- scoped_sound_effect
- send_equipment
- send_equipment_fraction
- set_autonomy
- set_border_war
- set_border_war_data
- set_building_level
- set_capital
- set_character_flag
- set_character_name
- set_collaboration
- set_compliance
- set_cosmetic_tag
- set_country_flag
- set_country_leader_description
- set_country_leader_ideology
- set_country_leader_name
- set_country_leader_portrait
- set_demilitarized_zone
- set_division_template_lock
- set_entity_animation
- set_entity_movement
- set_entity_position
- set_entity_rotation
- set_entity_scale
- set_equipment_fraction
- set_faction_leader
- set_faction_name
- set_faction_spymaster
- set_fuel
- set_fuel_ratio
- set_garrison_strength
- set_global_flag
- set_keyed_oob
- set_leader_description
- set_leader_name
- set_leader_portrait
- set_legitimacy
- set_major
- set_nationality
- set_naval_oob
- set_oob
- set_party_name
- set_political_party
- set_political_power
- set_politics
- set_popularities
- set_portraits
- set_province_controller
- set_province_name
- set_research_slots
- set_resistance
- set_rule
- set_stability
- set_state_category
- set_state_controller
- set_state_controller_to
- set_state_flag
- set_state_name
- set_state_owner
- set_state_owner_to
- set_state_province_controller
- set_technology
- set_temp_variable
- set_temp_variable_to_random
- set_truce
- set_unit_leader_flag
- set_variable
- set_variable_to_random
- set_victory_points
- set_war_support
- show_ideas_tooltip
- show_unit_leaders_tooltip
- sound_effect
- start_border_war
- start_civil_war
- start_resistance
- state_event
- steal_random_tech_bonus
- subtract_from_temp_variable
- subtract_from_variable
- supply_units
- swap_country_leader_traits
- swap_ideas
- swap_ruler_traits
- teleport_armies
- teleport_railway_guns_to_deploy_province
- transfer_navy
- transfer_ship
- transfer_state
- transfer_state_to
- transfer_units_fraction
- turn_operative
- uncomplete_national_focus
- unit_leader_event
- unlock_decision_category_tooltip
- unlock_decision_tooltip
- unlock_national_focus
- upgrade_intelligence_agency
- while_loop_effect
- white_peace
Effects for scope OPERATION
Effects for scope STATE
- activate_targeted_decision
- add_building_construction
- add_claim_by
- add_compliance
- add_core_of
- add_dynamic_modifier
- add_extra_state_shared_building_slots
- add_manpower
- add_province_modifier
- add_resistance
- add_resistance_target
- add_resource
- add_state_modifier
- cancel_resistance
- clr_state_flag
- damage_building
- effect_tooltip
- every_neighbor_state
- force_disable_resistance
- force_enable_resistance
- force_update_dynamic_modifier
- hidden_effect
- modify_state_flag
- print_variables
- random_neighbor_state
- remove_building
- remove_claim_by
- remove_core_of
- remove_dynamic_modifier
- remove_province_modifier
- remove_resistance_target
- remove_targeted_decision
- reset_state_name
- set_border_war
- set_building_level
- set_compliance
- set_demilitarized_zone
- set_faction_name
- set_garrison_strength
- set_resistance
- set_state_category
- set_state_controller_to
- set_state_flag
- set_state_name
- set_state_owner_to
- set_state_province_controller
- start_resistance
- state_event
- teleport_armies
- transfer_state_to
Effects for scope STRATEGIC_REGION
Effects for scope any
- add_to_array
- add_to_temp_array
- add_to_temp_variable
- add_to_variable
- add_victory_points
- build_railway
- cancel_border_war
- change_tag_from
- clamp_temp_variable
- clamp_variable
- clear_array
- clear_global_event_target
- clear_global_event_targets
- clear_temp_array
- clear_variable
- clr_global_flag
- create_dynamic_country
- create_entity
- create_railway_gun
- create_unit
- custom_effect_tooltip
- damage_units
- destroy_entity
- divide_temp_variable
- divide_variable
- every_country
- every_other_country
- every_possible_country
- every_state
- finalize_border_war
- find_highest_in_array
- find_lowest_in_array
- for_each_loop
- for_each_scope_loop
- for_loop_effect
- force_update_map_mode
- goto_state
- if
- log
- meta_effect
- modify_global_flag
- modulo_temp_variable
- modulo_variable
- multiply_temp_variable
- multiply_variable
- play_song
- random
- random_country
- random_country_with_original_tag
- random_list
- random_other_country
- random_scope_in_array
- random_state
- randomize_temp_variable
- randomize_variable
- randomize_weather
- remove_from_array
- remove_from_temp_array
- reset_province_name
- resize_array
- resize_temp_array
- round_temp_variable
- round_variable
- save_event_target_as
- save_global_event_target_as
- set_border_war_data
- set_entity_animation
- set_entity_movement
- set_entity_position
- set_entity_rotation
- set_entity_scale
- set_global_flag
- set_province_name
- set_temp_variable
- set_temp_variable_to_random
- set_variable
- set_variable_to_random
- set_victory_points
- sound_effect
- start_border_war
- subtract_from_temp_variable
- subtract_from_variable
- while_loop_effect