Teams Setup

Now we can apply the Team component to anything, character or object, to assign in that thing to a team. There are only three options on the Team component to make it very easy to use. Read about those options below:

Variable Description
Auto Assign Character Team If this is true the team component will override any setting in your Team Name and Team Data. It will assign this component to the Character Team found in the EMI_NetworkManager component at runtime as soon as this object is spawned. This is perfect for dynamically spawned characters.
Team Name The name of the team that is found in the Team Data that you want to assign this object to.
Team Data If this isn't applied it will use the TeamData found in the Teams entry in the EMI_NetworkManager component. Apply this only if you want to use a custom teamdata settings in this component only. Advanced use cases only.

Changing Teams

If you ever want to switch teams, it's extremely simple. You must call the ChangeTeam function on the Team component. However, this MUST be called from the server as that's the only way for this team name change to propigate to all clients.