Hi all. So, I followed the UE4 Multiplayer template off of Youtube and everything works fine. However, at the moment it is more like a free for all game mode and I would like to implement a team based game mode.
Currently the team spawning does not work. Within 0_base class I have added a integer variable called TeamID. For the player I want to spawn at certain playerstarts I hae set the TeamID variable to 0 and the others I have set to 1.
I have created two new player start classes, one for each team. Within in GameplayGM (I think it is called this), where is says respawn I have but it a branch and the condition is, if TeamID = 0 use this playerstart class to spawn and if TeamID = 1, then use this playerstart class to spawn. It does not work. From my testing it seems as if it will either spawn the players at one of the other spawn location and not both.
I have scoured the internet and I cannot find any information which would help me with this type of problem, sure there are videos on Youtube but they don’t relate to what I am trying to do. I was wondering if anyone else has had this problem and what solution they used to overcome it. This is the initial post and I can, in further posts, post the project file. I will this afternoon be able to post screenshots of the blueprints.