Created by Sean Piche

User stories fulfilled

Networking Naming Conventions

Multicast custom event is prefixed with RPC_

Server custom event is prefixed with RPC_Server

Local events that occurs only on the local instance of the object is prefixed with Local_

Non replicated events have no standard naming prefix

Networking need to Knows

Server events only work if they are called by the owning object.

Multicast events only work when called from an event executing on the server otherwise they are ignored.

Local events only work if called from the server.

Rep notify variables can be used to sync the current state when an object becomes relevant. This function will be automatically triggered when it becomes relevant to the local player to allow for the syncing of local state.

Description

This system handles the connection of new players and opening up of slots when a player joins. When a player joins they are spawned in manually.

The first player that joins is spawned in as a VR player if they have a headset connected. All other players are spawned in as pc players.

If the player joins a lobby that already has AI spawned in, they automatically posses the AI at the same position that it was at.

How Does it Work