question

watcover3396 avatar image
watcover3396 asked

Two teams red and blue for one matchmaking ticket

Hello, is it possible to create a ticket that will have one or two teams red and blue for one matchmaking ticket?

Matchmaking
matchmakingsample.jpg (120.7 KiB)
1 comment
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

watcover3396 avatar image watcover3396 commented ·

Teams for one ticket can be of different sizes, a maximum of 4 by 2 for example.

0 Likes 0 ·

1 Answer

·
Made Wang avatar image
Made Wang answered

PlayFab does not provide team selection when creating matchmaking tickets.

In your case you can store the team (or character) selected by the player in the player attributes and specify the number of each team (or character) in a match via the MatchTotalRule in the queue configuration. You can refer to Matchmaking scenario and configuration examples - PlayFab | Microsoft Docs.

2 comments
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

watcover3396 avatar image watcover3396 commented ·

What if one friendly lobby joins one matchking ticket? Those. there can be two teams with different number of players in the teams for one matchmaking ticket. Will this work?

0 Likes 0 ·
Made Wang avatar image Made Wang watcover3396 commented ·

>>What if one friendly lobby joins one matchking ticket?

Create a matchmaking ticket by the owner of the lobby and configure MembersToMatchWith, then other players in the lobby can join via JoinMatchmakingTicket.

>>there can be two teams with different number of players in the teams for one matchmaking ticket. Will this work?

Currently, Teams in PlayFab Matchmaking are automatically assigned by PlayFab after the match is completed. By default, players in the same ticket will be assigned to a team. You cannot assign players to a specified team, so the existing Team function cannot meet your needs.

You should refer to the example provided above to store the team selected by the player in attributes, and after the match is complete, you need to manually group players based on their attributes.

1 Like 1 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.