Let's say I have two types of players (based on value in player scriptData) and I only want to match against players of the same type. How can I do this?
I tried setting the skill of one player to 0 and the skill of the other player to 1 in the MatchMakingRequest to identify the different player types, but none of the match making options (absolute, relative, url) work like this.
Thanks,
Jeffry
Best Answer
T
Tech Support
said
almost 7 years ago
Hi Jeffry
You could use the matchGroup parameter of the matchmaking request. When you do this, you will only be matched to players with the same group.
If you don't care about scores, you could always send 1 as the skill, so you are only matching based on your group.
Hope that helps !
Gabriel
J
Jeffry van de Vuurst
said
almost 7 years ago
Ok thanks! But now the other way around, what if I only want to match with the other player type, e.g. boys versus girls?
J
Jeffry van de Vuurst
said
almost 7 years ago
Any comment? Is this possible at all?
Tech Support
said
almost 7 years ago
Hi Jeffry
I don't think this is something we can do with the current API, but I've passed this to the engineering team and put it on the backlog as it seems like a reasonable feature to implement
Jeffry van de Vuurst
Hi,
Let's say I have two types of players (based on value in player scriptData) and I only want to match against players of the same type. How can I do this?
I tried setting the skill of one player to 0 and the skill of the other player to 1 in the MatchMakingRequest to identify the different player types, but none of the match making options (absolute, relative, url) work like this.
Thanks,
Jeffry
Hi Jeffry
You could use the matchGroup parameter of the matchmaking request. When you do this, you will only be matched to players with the same group.
https://docs.gamesparks.net/documentation/request-api/multiplayer-request-api/matchmakingrequest
If you don't care about scores, you could always send 1 as the skill, so you are only matching based on your group.
Hope that helps !
Gabriel
- Oldest First
- Popular
- Newest First
Sorted by Oldest FirstTech Support
Hi Jeffry
You could use the matchGroup parameter of the matchmaking request. When you do this, you will only be matched to players with the same group.
https://docs.gamesparks.net/documentation/request-api/multiplayer-request-api/matchmakingrequest
If you don't care about scores, you could always send 1 as the skill, so you are only matching based on your group.
Hope that helps !
Gabriel
Jeffry van de Vuurst
Ok thanks! But now the other way around, what if I only want to match with the other player type, e.g. boys versus girls?
Jeffry van de Vuurst
Any comment? Is this possible at all?
Tech Support
Hi Jeffry
I don't think this is something we can do with the current API, but I've passed this to the engineering team and put it on the backlog as it seems like a reasonable feature to implement
Gabriel
Jeffry van de Vuurst
Thanks, that would be helpful!
Jeffry van de Vuurst
Thanks, that would be helpful!
-
Documentation Notes
-
Design issues with user events
-
Using NoSQL
-
Runtime Collections vs Metadata Collections
-
Anonymous authentication from browser app
-
Modules
-
Movement With Unity
-
Problem with url parameters for downloadables
-
Querying NoSql GameSparks database
-
Challenge accesType
See all 2487 topics