So I setup a system which can connect to another player using steam matchmaking (p2p) and someone can join. Next I want to know how I can handle when the host disconnects. When you play games like CoD… if the host disconnects it just switches to a new host. How can I implement this in UE4? Second, I have a layout of how I want each match to go:
Lobby, Waiting for necessary players
Starting Game, Choosing Characters
Game begins, loads into a new map
Victory condition has been met, someone losses and someone wins.
Results of the match are sent to a Postgres db.
Match is destroyed.
How can I setup this sort of step by step progression within a match?