How can I see if the Player is a AI or a Actual player? (Using a blueprint)

Using GetLyraPlayerController, how can I see if the Player is a AI or a Actual player? (Using a blueprint)
Here is my code if it helps:


Also, I am using the Lyra starter game, my blueprint is located in Plugins->ShooterCore->Battle Royale.

2: I am also using a For Each Loop to loop through the players.

Thanks!

On a normal Pawn / Character you can call GetController and cast that to an AIController. if it is possessed by an AI it will return an AIController.

Hi there @MasonX8881. Hope you’re well!

This topic has been moved from International to Programming & Scripting: AI.

When posting, please review the categories to ensure your topic is posted in the most relevant space.

Thanks and happy developing! :smiley: