(1 represents 100% tension)Ĭhecks if the country has capitulated. For example, if Bulgaria finishes a national focus to gain two civilian factories in a random state, then it will consider the triggers attached to that focus from the perspective of Bulgaria automatically.īy typing the command 'trigger_docs' in game, the game will write a list of triggers and effects to a log file that you can find in :ĭocuments/Paradox Interactive/hearts of Iron IV/logs/game.logīesides normal triggers, there are also State Triggers that can only be exerted on selected states.Ĭhecks if the in game date is before or after the given date.Ĭhecks if the DLC with the given text as name is installed.Ĭhecks if the country is an AI or not, will be false if the country is controlled by one or more players.Ĭhecks if the tagged country controls any states.Ĭhecks if the country gives military access to the tagged country.Ĭhecks if the country has caused more or less than the given number in world tension.
Many triggers are country-specific, and will automatically take your country in consideration ( ROOT). conditions are used to, well, set conditions for effects or modifiers, for example to check if focuses are unlocked, or the likelihood for an ai to do something. Triggers, also known as Conditions, are a fixed list of questions you can ask the game, to which the answer will be yes or no / true or false.