I think what you are looking for is the match details request [here]. You already know the matchID right? you just want to get the opponent details? Let me know if that works for you.
-Sean
1 Comment
Customer Support
said
about 7 years ago
Answer
Hey There,
I think what you are looking for is the match details request [here]. You already know the matchID right? you just want to get the opponent details? Let me know if that works for you.
Future Fart
I need to access to matchInstance collection and get players' id in a match. but my script return no value at all. am i missing something?
I tried those:
var players = Spark.find("matchInstance", {"_id": matchID}, {"players":1 , "_id" : 0});
var players = Spark.find("SYSTEM.matchInstance", {"_id": matchID}, {"players":1 , "_id" : 0});
Hey There,
I think what you are looking for is the match details request [here].
You already know the matchID right? you just want to get the opponent details? Let me know if that works for you.
-Sean
Customer Support
Hey There,
I think what you are looking for is the match details request [here].
You already know the matchID right? you just want to get the opponent details? Let me know if that works for you.
-Sean
-
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