Okay so I am currently working on a small game to play for me and my friends.
Assigning teams is the same logic as in the ShooterGame template.
Now I found out that the way it is programmed in the shootergame template it does not work. This is because the moment a playerstart is chosen the playercontroller doesn’t know yet on what team it is. I also found a really old bug pointing to this.
If somebody would be so nice to point me into the right direction. Preferable someone with networking experience.
I already found the GameMode call logic which is: PreLogin -> ChoosePlayerStart -> Login -> PostLogin
So the moment my playercontroller is assigned a team at the moment is in the PostLogin method which I think is the correct method to put such logic in.
I don’t understand why ChoosePlayerStart is called before the Login method because that one creates the PlayerController.