Spawn ai controller without pawn

I have a turn based game. I would like to spawn a central AI contoller. AI pawns would send the AI controller some stats to modify the decision making. Sense its turn based i don’t see a reason to have an AI for every pawn. The player controller will also use the AI controller to move the pawns.

How can a spawn this central AI without spawning a pawn?

Yes you can spawn an AI controller just by using “spawn actor from class” node since controller is an actor.

Here I spawned a central AI controller inside level blueprint’s begin play.

Inside the Central AI controller i have an array of type pawn, which our pawns will register themselves to the central controller.

Here inside my pawn class:

The are better ways to register pawn to central controller but this is a start.

You can disable the “Auto Possess AI” inside the pawn to stop your pawns from being auto possessed by the default AI controller.

If this solves your problem please mark the reply as answered.

Thank you.