Skip to content
HOI4DOC

generate_character

Details

Generates a character. Use in every_country in order to generates one copy of the character per country satisfying the limit conditions.

every_country = {
	limit = { OR = { original_tag = KOR original_tag = SER original_tag = ICE } }
	generate_character = { #create + recruit
		token_base = army_chief_defensive_1 # mandatory, character token will be token_base
		name = "Character's Name" # optional, no name provided means random name for each generated character
		# then whatever you would put when writing character
		advisor = {
			idea_token = ac # full idea token will be token_base_idea_token (to ensure unicity). optional, slot will be used if missing.
			slot = army_chief
			allowed = { original_tag = PREV }
			traits = { army_chief_defensive_1 }
		}
	}
}

Source: Effects Documentation

Name
Type
Effect
Supported Scopes
Country
Supported Targets
any