Any
198 items
Adds either a resistance or compliance modifier to a state. Can only use modifiers from the resistance_modifiers.txt/compliance_modifiers.txt that are marked as is_dynamic = yes
Adds a value, a variable, or a math expression to a temp variable.
Adds a value, a variable, or a math expression to a temporary variable.
Checks if the triggers are true for all of the elements in the collection.
check if all countries meets the trigger. tooltip=key can be defined to override title
Checks if all of the provided countries fulfill the specified triggers. The target supports script constants and tooltip supports bindable localization.
check if all country with current scope's original tag meets the trigger. Example
Runs a loop on an array and check a trigger for each value, if any false returns false. otherwise returns true
Runs a loop on an array and check a trigger for each scope in it, if any false returns false. otherwise returns true
check if all other countries meets the trigger. Excludes current country. tooltip=key can be defined to override title
check if all states meets the trigger. tooltip=key can be defined to override title
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.
Checks if any of the provided countries fulfill the specified triggers. The target supports script constants and tooltip supports bindable localization.
check if any country with current scope's original tag meets the trigger. Example
Checks if any country that has an original tag that matches any of the provided countries fulfill the specified triggers. The target supports script constants and tooltip supports bindable localization.
Runs a loop on an array and check a trigger for each value, if any true returns true. otherwise returns false
Runs a loop on an array and check a trigger for each scope in it, if any true returns true. otherwise returns false
check if any other country meets the trigger. Excludes current country. tooltip=key can be defined to override title
Checks if any of the provided countries (except for the current country) fulfill the specified triggers. The target supports script constants and tooltip supports bindable localization.
Checks if any country that has an original tag that matches any of the provided countries and isn't the current country fulfill the specified triggers. The target supports script constants and tooltip supports bindable localization.
check if any state meets the trigger. tooltip=key can be defined to override title
Checks if any of the provided states fulfill the specified triggers. The target supports script constants and tooltip supports bindable localization.
Builds/adds railway level between two provinces or along a path. Example
Checks if a railway can be built according to specifications. Example
Make the Unit Leader in scope be captured by the specified country (needs to be a general). Optionally specify the province where the leader is held captive.
Compares the ratio (first/second) of two playthrough values to a number
Compares the ratio (first/second) of two career profile values to a number
Sets a temporary variable to a value or another variable
Sets a temporary variable to a value or another variable
Evaluates a math expression and returns true when the result is non-zero.
Clamps a temp variable a variable bet ween two a values or another variables
clamps a temp variable between two values/variables
Clamps a variable between two values or variables. Note that either min or max can be omitted. The order in which the operations are applied is Max( Min( var, max ), min ). An error will be logged if max < min as the result will be more often than not undesired (requires the game to run in debug mode).