set_flag Console Command
Documentation and examples for the set_flag command in Europa Universalis IV.
set_flag
Sets a global flag
| Parameter | Description |
|---|---|
FlagTextrequired |
Command builder
Fill in the parameters to build a ready-to-paste set_flag command.
Overview
Sets a global flag — a game-wide scripted marker that events and decisions can check. Used to arrange world-level conditions for testing.
Frequently asked questions
How do you use the set_flag command in EU4?
Open the console with the grave (`) key while in-game, type set_flag followed by its parameters, then press Enter. The console can't be opened in Ironman games.
What does the set_flag command do?
Sets a global flag.
What are the parameters for the set_flag command?
The syntax is set_flag [flag]. It takes one argument: flag.
Does the set_flag command require any DLC?
No. set_flag is part of the base game and works without any DLC.
Can you use set_flag in Ironman mode?
No. The console is disabled in Ironman games, so set_flag can't be entered. Because achievements are only earned in Ironman, console commands like set_flag can't be used to unlock them.