I’m facing some problems due my poor (for now) multiplayer programming and I need some help.
I have two players connected to a session, they should choose their avatar. When player clicks on “choose” button I check on GameState if all clients are ready. When all players have they chosen avatar, the game begins but… I want to show a countdown on both players. The “Start Game” event could be fired from client or server, it depends who choose it avatar later.
When a player is spawned the widget for the countdown is assigned to the PlayerState so when all the players are ready I call a function on GameState which starts the countdown:
And finally inside the widget, when the countdown is finished if it’s server I call ServerTravel. It’s supposed that both should run the countdown but only one ServerTravel is called.
Hi. Server travel (probably) wont work on 1 machine. Epic made tutorial but tested server travel on pc + laptop…
However, some months ago it was probably bugged and it worked for me… so no idea whats true.