Hey, so im making a multiplayer game where every player has a AI friend, i have gotten where every time a player join the game an ai also spawns, but then i need to assign that AI to the player that spawned it. the following code works great for the server, but it doesnt work for the clients, it only assigns all the ai to the host and the clients gets none?
How do i make so every time a player spawns a pawn with an ai they also assign that pawns ai to themself in that variable at the end?