Hi,
I am working on adding inventory items to my game via PlayFab.
I have ran into a problem as my game has already been out for some time.
Is there a way for me to set the currency of a player to one of their statistic values?
I have thought about doing maths once they log in to the newer version for the first time to figure it out, would that be the best way to do it? or is there some code that I could run, like a cloudscript on all players at once or only as they log in for example?
Thanks and if you need any more information, feel free to ask!
Regards,
Brandon
[Edit]
Hi, I am returning to this question.
I got the previous answer and began to look into it, to no avail. I know that I have to create some Cloud Script to execute when a player loads in for the first time, but I'm not really sure about the Cloud Script interface - it's not something I'm used to, to be honest.
I've attempted to get this working, but I'm really struggling - could you explain how the CloudScript code would work, I'd appreciate that a lot!
Thanks!