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
over 3 years ago
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.