Hi. I have a game that runs on local network on 4 computers.
There is the menu/title map.
the first player that starts will be the server. the others join as clients.
server loads the game map. the game runs ok. some players start to die and
then I want to free those players going to the menu/title map again without waiting
to the current running game to end. So I run destroy session from the player controller of the
client pawn and then open the game/menu map. everything is fine. I just cant do this
for the server/player because is who runs thegame I know and that is fine. If server
player dies it will just stay as spectator waiting to the game for end.
The problem is that even I do a destroy session and open level from clients and they
go to the map, If some of those players start a new game and do a open level with ?listen, the players that still running the old game (including the server player) are
dragged to the new game.
How can i actually fully unlink client from the old session and become the server of a
new game?
current system works perfectly if all players are in the menu and start sessions there and join different games…even I can run 4 different games at the same time without problems,
but when players start coming back to the menu map and others still in the old game I cant do this to work right.
Any idea?