Sign In Register

How can we help you today?

Start a new topic
Answered

Can I let user Join Challenge anytime?

Hi,


My game is a open table so every user may join and leave anytime.

Is it supported that joining challenge after the challenge started?


Thanks a lot

Jo


Best Answer
Hi Jo

You can use JoinChallengeRequest to add a player to a challenge once it has started.
To remove a player use Spark.getChallenge(mychallengeid).removePlayer(playerId);

Thanks
Katie

 

1 Comment

Answer
Hi Jo

You can use JoinChallengeRequest to add a player to a challenge once it has started.
To remove a player use Spark.getChallenge(mychallengeid).removePlayer(playerId);

Thanks
Katie

 

Login to post a comment