Skip to content
HOI4DOC

resize_temp_array

Details

Resizes a temp array
Example:

resize_temp_array = {
	array = array_name
	value = 42 #optional, if not specified and array grows the new elements are set to this (default 0)
	size = 3 #if higher than old size, new elements are added to end. otherwise last elements are removed to match to new size
}
#shorter usage: resize_temp_array = { array_name = 3 }

Source: Triggers Documentation

Name
Supported Scopes
Any
Supported Targets
none