Created by Sean Piche
This system handles both hosting game servers and connecting to them. At its current state it only allows for local area networking (Computers on the same internet connection) but could easily be reconfigured to use an online server.
Allows for the maximum number of players to be specified to prevent a lobby from having more then the desired number of players.
Allows for choosing an initial starting level for the multiplayer session to spawn into.
To host a local server call the “Create Server” custom event, this will create a new local server.
This server will load the specified map and only allow the maximum number of players as outlined in the variables panel to join.
Joining a sever can be done one of two ways.
To use this option call the “Find Servers” custom event.
This will find all of the joinable local area servers and pass a reference to the first found server into the “Join Server” custom event.