set_prov_flag Console Command
Documentation and examples for the set_prov_flag command in Europa Universalis IV.
set_prov_flag
Sets a flag for a province
| Parameter | Description |
|---|---|
FlagTextrequired | |
Province IDNumberrequired |
Command builder
Fill in the parameters to build a ready-to-paste set_prov_flag command. Fields with a dropdown let you pick a valid ID.
Overview
Sets a scripted flag on a province, a marker province-scoped events and decisions can check. Useful for testing scripted province content.
Frequently asked questions
How do you use the set_prov_flag command in EU4?
Open the console with the grave (`) key while in-game, type set_prov_flag followed by its parameters, then press Enter. The console can't be opened in Ironman games.
What does the set_prov_flag command do?
Sets a flag for a province.
What are the parameters for the set_prov_flag command?
The syntax is set_prov_flag [flag] [province id]. It takes 2 arguments: flag, province id.
Does the set_prov_flag command require any DLC?
No. set_prov_flag is part of the base game and works without any DLC.
Can you use set_prov_flag in Ironman mode?
No. The console is disabled in Ironman games, so set_prov_flag can't be entered. Because achievements are only earned in Ironman, console commands like set_prov_flag can't be used to unlock them.