Hey there...
When in Cloud Script the Authentification Response is triggered, how can i access the "newPlayer" property of the Response Object, to add some Logic in case the player just has newly registered. Is it done via the getplayer().getscriptData?
Thanks for your help
1 Comment
Customer Support
said
almost 3 years ago
Hi Julian,
The following will get that value for you.
var newPlayer = Spark.getData().newPlayer
You should then be able to run use this value to run specific code on new players only.
Julian Wimmer