EU4 set_country_flag Console Command

Documentation and detailed help with working examples.
set_country_flag Command
PlayerDLC: None

This country sets the specified flag for the specified country. Use clr_country_flag to clear.

set_country_flag [Country Tag] [flag]

Parameters

The country tag to set the flag for.

flag

The name/key of the flag to set.

Looking for EU4 console commands?

Search our complete list!

Quick Overview

The set_country_flag command in Europa Universalis IV is used to set a specific feature or 'flag' for a country.

A 'flag' in this context is a type of variable in the game that can activate or disable certain actions or outcomes.

This command is primarily used by modders to trigger certain events in a country, according to the flag that has been set.

How to Open the Command Console

In EU4, cheats are executed from the command console, a text box that you type commands into.

To open the command console press the ~(tilde) key, which is typically located under ESC (escape).

If your keyboard does not have that key, or pressing ~ does not work, try the following keys:

  • ~
  • SHIFT + 2
  • SHIFT + 3
  • ALT + 2 + 1

Type your command into the console, and then press ENTER .