array = country_war_germany_array value = this index = i0 } add_to_variable = { i0 = 1 } } 这个country_war_germany_array数组里将存储所有与德国开战的国家 这里要注意,如果我们想要在已有的list(array)上刷新数组的话,通常我们必须指定index,也就是位置是从0开始,然后使用变量的加法进行递增,否则...
Country Tags Unit Codes More IDs Blog Other Command Lists HOI4 Console Commands Event IDs Hearts of Iron IV Event IDs Below is a searchable list of all event names and event codes from Hearts of Iron 4 on Steam (PC / Mac). Type the name or ID of an event into the search box...
whitepeacewhitepeace [country tag] [country tag]This command instantly makes 'white peace' (things return to the way exactly they were before a war started) between the specified countries (specified by their country tag). teleportteleport [province id]This command can be used to either activate...
- When using a character token as input for a scope, search for the closest encapsuling country scope in order to interpret it correctly - Fix crash when using add_advisor_role on a character with already a role in the same slot. Add a log error if trying to put triggers and on_act...
setowner [Country Tag] [State ID]Set the owner of a specified state with this command. spawn [unit name/id] [Province ID] [Amount]Players can use this command to spawn the specified [Amount] of a unit in a province. To use this command, you must first add ‘-debug’ to your HOI4...
Takes as first argument the tag of the country to test, default to the player's. error Show errors in log eval_effect Runs the inlined effect on a selected scope eval_trigger Runs the inlined trigger on a selected scope event Arguments: event id, <Target Country Tag> Executes an ...
can_be_country_leader can_select_trait defense_skill_level has_ability has_air_ledger has_army_ledger has_character_flag has_dynamic_modifier has_id has_ideology has_ideology_group has_nationality has_navy_ledger has_trait has_unit_leader_flag hidden_trigger is_advisor is_air_chief is_army_ch...
这个country_war_germany_array数组里将存储所有与德国开战的国家 这里要注意,如果我们想要在已有的list(array)上刷新数组的话,通常我们必须指定index,也就是位置是从0开始,然后使用变量的加法进行递增,否则变量将被添加到列表的末尾。 一些操作::: (1)在数组中移除一个变量值 ...
这个country_war_germany_array数组里将存储所有与德国开战的国家 这里要注意,如果我们想要在已有的list(array)上刷新数组的话,通常我们必须指定index,也就是位置是从0开始,然后使用变量的加法进行递增,否则变量将被添加到列表的末尾。 一些操作::: (1)在数组中移除一个变量值 ...