CK3 set_is_ai Console Command

Documentation and detailed help with working examples.

set_is_ai Command

Testing

This command allows the AI to control the specified character.

set_is_ai

Parameters

The ID of the character you want AI to control.

Examples

Here are examples of how to use set_is_ai.

set_is_ai 84

This command will cause the AI to control the character with ID 84.

Looking for CK3 console commands?

Search our complete list!

Overview

The set_is_ai command is mainly used by game developers or modders. The core function of this command is to delegate the control of a specific character to the game's AI.

When you use set_is_ai followed by the character ID, you enable the AI to start making decisions for that particular character.

How to Open the Command Console

In CK3, 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 .