set_is_ai Console Command
Documentation and examples for the set_is_ai command in Crusader Kings III.
set_is_ai
Testing
This command allows the AI to control the specified character.
| Parameter | Description |
|---|---|
Character IDrequired | The ID of the character you want AI to control. |
Command builder
Fill in the parameters to build a ready-to-paste set_is_ai command.
Character ID
Examples
Here is an example of how to use set_is_ai.
This command will cause the AI to control the character with ID 84.
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.