Skip to content
HOI4DOC

every_collection_element

Details

Applies arbitrary effects to all elements of a collection. To learn more about collections,
see the documentation in "common/collections"

General example

every_collection_element = {
	input = {
		input = collection_id # This can be a collection name or an inline definition of a collection
		limit = {
			# Trigger - limit effect execution to a subset of elements
		}
	}
	# Effects to be executed
}

Scoped example

TAG = { # Some collections require a scope
	every_collection_element = {
		input = {
			input = country:faction_members # for this collection, country scope is required
			limit = {
				# Trigger - limit effect execution to a subset of elements
			}
		}
		# Effects to be executed
	}
}

Source: Effects Documentation

Name
Type
Effect
Supported Scopes
Any
Supported Targets
none