Sign In Register

How can we help you today?

Start a new topic

MatchFoundMessage - Match/Players data

I need to get every participants segments and put them in script data. I can do that if i could reach Match ID or list of players.
So, how can i reach it? or is there any other practical way?

Hey There,

So you are looking to create a list containing the segements of every player, right?

Does this have to be specific to each match? or if you knew the match if could you just get each player's ID from that.

If you know the player ID, you can get their segements using Spark.LoadPlayer(playerID).getSegmentValues();

Will that work for you?


it works. but it only finds one player. I want to have a match id in MatchFoundMessage so that i can have all the ids of participants.

Do you have a player-list setup in your game?



Login to post a comment