Home
Contents
Search

Console Command & Cheat: SetRandomCount

EU4 Console Command
Command SetRandomCount
Description Sets the randomcount to 0 or arg
Command Category
Commonly Used Commands
DLC Required
How to Use
Commands in EU4 Most commands have three parameters. Some commands have fewer or none. When multiple parameters are required, enter each parameter, separated by a space. The common parameters are the country tag, province ID (please see our list of country and province IDs), and value (the amount that you want when you enter the command).
How to Open the Command Console To open the command console, press Shift 2, or Alt 2 1, or Shift 3, or ~ (this is usually located below the Esc ui tiny basic label and to the left of the 1 key. Most cheat codes can be turned off by repeating the command in the command console.
memory
Description
Prints out the used memory
DLC Required
None
Read More
reload_map
Description
Reloads the map
DLC Required
None
Read More
add_unrest [(CID Type)] [(CID Index)] [(Unrest)]
Description
Adds unrest to a faction
DLC Required
None
Read More
epicfail [(Target Country Tag) OPTIONAL]
Description
Makes all spies of target country fail
DLC Required
None
Read More
victorycard
Description
Force enables victory cards in singleplayer
DLC Required
None
Read More
add_missionary [(Country tag)]
Description
Adds a missionary to a country
DLC Required
None
Read More
timer
Description
Prints out debug timing info
DLC Required
None
Read More
setmissionaryprogress [(ProvinceID)] [(Amount)]
Description
Sets the missionary progress for a province.
DLC Required
None
Read More
fullscreen
Description
Toggles fullscreen
DLC Required
None
Read More
frenzy_off
Description
Force disable Great Power frenzy!!!
DLC Required
None
Read More
doom [(AMOUNT)] [(Country tag) OPTIONAL]
Description
Add to a country's doom (Nahuatl religion)
DLC Required
El Dorado
Read More
reinitchat []
Description
Posts a CChatSyncAllCommand
DLC Required
None
Read More
window(wnd) [Arguments: open/close] [window gui name]
Description
Opens or closes the specified window
DLC Required
None
Read More
frenzy
Description
Force enable Great Power frenzy!!!
DLC Required
None
Read More
spritelevel [(Sprite level)]
Description
Sets a forced sprite level. Specify no argument to reset.
DLC Required
None
Read More
remove_defender_faith
Description
Removes the defender of the Faith for the players religion
DLC Required
None
Read More
lucky [(Country tag) OPTIONAL]
Description
Toggles lucky nation status.
DLC Required
None
Read More
timer_stop
Description
Stops debug timing
DLC Required
None
Read More
rgb(rgb) [(Amount)]
Description
Prints desired amount of random color values to game.log
DLC Required
None
Read More
run []
Description
Runs effects in specified file. Example: run my_script.txt. By default looks in \Documents\Paradox Interactive\Europa Universalis IV\ for files. For mods, the game will look in \Documents\Paradox Interactive\Europa Universalis IV\mod\name_of_mod\.
DLC Required
None
Read More