Skip to main content

Retrieve a player's team and slot during the game

There's two ways to retrieve the team and slot information during the game, and it depends on whether the code is running on a client, listen server or dedicated server.

info

These blueprint nodes only work if you started matchmaking via the blueprint-based Matchmaker class. If you're queuing via C++, you'll need to store the match results somewhere in your own code and access it that way instead.

If you need to access the team and slot information for a player on the client or a listen server, use the Get Team and Slot blueprint node on the Matchmaker Subsystem:

Blueprint example rendered using the blueprintue.com renderer under an explicit license grant.

If you need to access the team and slot information for a player on a listen server or dedicated server, use the Get Team and Slot for Player on Server blueprint node on the Matchmaker Subsystem. You would typically use this in your implementation of "Choose Player Start" in the game mode:

Blueprint example rendered using the blueprintue.com renderer under an explicit license grant.