Skip to content
HOI4DOC

while_loop_effect

Details

Runs the effect as long as a trigger is true
Example:

while_loop_effect = {
	limit = { ... trigger ... } a trigger to test before each iteration
	break = break_name #optional (default 'break') set this temp variable to non zero to break the loop
	#effect 1
	#effect 2 ...
}

Source: Effects Documentation

Name
Type
Effect
Supported Scopes
Any
Supported Targets
any