Skip to content
HOI4DOC

remove_from_temp_array

Details

Removes an element from a temporary array using value or index
Example:

remove_from_temp_array = {
	array = array_name
	value = 42 #optional, use index or this. if neither it removes last element
	index = 3 #optional, use value or this. if neither it removes last element
}
#shorter usage: remove_from_temp_array = { array_name = 42 }

Source: Triggers Documentation

Name
Supported Scopes
Any
Supported Targets
none