Once I have the GetMatchResult I have an array of JSON Objects, but how do I find which item in that array is the local player? I want to join the server with an argument listing the team so my framework knows what side to put them on, what color to make their UI, etc. I need this at GetMatch so it can be an argument in the URL.
Answer by Rick Chen · Jan 19, 2021 at 09:35 AM
The team ID is in the “Members” property of the GetMatchResult, the Members property is a list of Users that are matched together, along with their team assignments, please refer to GetMatch API.
To get the team id in Unreal Blueprints, here is an example screenshot: