Hello,
I want to be able to set up some starting characters to be available for the user form the server, like a starter bundle of characters they can choose from. But our attempts have failed so far, this is what we have been trying to do.
I've been trying to set an initial set of characters for every new user that enters the game.
So far I've tried to hook a cloudscript function from the playstream (player_added_tittle) and then give a starter bundle with the items that can be converted to characters.
With the next 2 options:
1.- in the same hooked function get player inventory, then consume bundle and grant characters, then consume character items. But fails mid way due to the ammount of calls.
2.- Create aplaystream event that triggers when the bundle is added to consume it (this works well)
2.1.- Create a playstream event that triggers when a character from the starter bundle is added, and grant the character and consume it (this one is failing). And debbug it is hard because I only get errors and not the logs or anything else on the playstream viewer.
Any ideas of how could I achieve the result, the characters are about 12, but that can change later on development.
Thanks in advance,
Chrys