Skip to content
HOI4DOC

any_collection_element

Details

Checks if the triggers are true for any of the elements in the collection.
If optional parameter count is set, then it checks if the number of elements that the trigger is true for is equal or larger than count.

Example

any_collection_element = {
	collection = {
		input = game:scope
		operators = { controlled_states }
	}
	is_core_of = PREV
}
any_collection_element = {
	collection = {
		input = game:scope
		operators = { controlled_states }
	}
	is_core_of = PREV
	count = 3
}

Source: Triggers Documentation

Name
Supported Scopes
Any
Supported Targets
THISROOTPREVFROMOWNERCONTROLLEROCCUPIEDCAPITAL