How to change Default Player Controller to AI controller ?

hey devs is there a way to make default pawn an AI , what i want is that when the game starts my deafault apawn will be an AI it will run its BT , and i as a player can only spectati him with its camera thats it ,so i need to swith deafult player controller class to AI controller i guess? how to achieve it?

I haven’t really messed with spectator mode since UE3, but here’s a tutorial on the basic setup of possessing a spectator pawn in 5.x:

In theory you could just make the spectator pawn the default pawn in game mode settings, and make the player initially controlled by ai (that would be in pawn section of details panel in character), and possess the player later.