EU4 invasion_target Console Command

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

This command will set an AI invasion of the specified province.

invasion_target [Province ID]


The ID of the province you want AI to invade.


Here are examples of how to use invasion_target.

invasion_target 7

This command will set AI to invade the Skaraborg (province ID 7).

Looking for EU4 console commands?

Search our complete list!

Quick Overview

The invasion_target command in Europa Universalis IV is used to specify a province for the AI to target for invasion.

This command takes an integer province ID as an argument, and after running it, the AI will prioritize launching an invasion against that particular province.

In-Depth Description

The invasion_target command in Europa Universalis IV (EU4) is a console command used to set the invasion targets for the AI, more specifically, to a certain province. A command is a string of text that performs a function when entered in the console.

To elaborate on how it works, you would open the console and type invasion_target [province id], replacing [province id] with the ID of the target province you want the AI to focus on.

This is particularly useful for test and debug phases of the game development or modding. It allows developers and modders to set up specific war scenarios to see how the AI would respond. It can also offer players a way to manipulate the AI's behavior for a more customized gameplay experience.

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 .