Setting up teams for Multi Player

uem_s03_finding_online_sessions

#1

Does anyone have any docs or do you know of any tutorials in setting up teams for Multi Player?


#2

Could you be a bit more specific in what you mean?


#3

Sorry, I wasn’t more specific.
I’m referring to the 4 man teams in games like PUBG and Fortnite, or Duo teams. I’ve read in different articles that you can use tags, but I’m not fully sure on how to utilize them. I’m guessing it has something to so with setting a tag or an ID for the player state and then going on from there. I haven’t been able to find any that involves C++


#4

There is a concept called Affiliation in the AI perception system. You might want to look into that. Alternatively, tags would work. Or maybe a UINTERFACE to help answer the question “which team?”. But you will need something to hook the rest of your gameplay off.