Hi all,
This is my first foray into multiplayer and it’s been tough. Right now, I’ve got code for players to join my session and then when the host says so, the game starts, everyone loads into the new level.
This is all fine, everyone loads in and is faced with the character selection screen where they are required to ready up. Once a player ready’s up, I check if all players are ready, and when they are all ready, I fire an event dispatcher that my game mode picks up.
At this point, the game mode iterates through each player controller and attempts to spawn+possess tanks but the tank only loads for the server instance. I’ve got replication enabled on the class bp and I’m calling the spawn+possess from my player controller to the game mode with a server call. Just to be clear, the clients see the tank that spawned for the server, but no tank spawns for the clients.
This is the Player Controller BP where I call PossessTanks
Anyone have any suggestions on how to make the clients spawn a tank for them to possess?
Thanks!
