Hello, I was wondering how would we be able to have a user buy a character with a preexisting inventory?
Hello, I was wondering how would we be able to have a user buy a character with a preexisting inventory?
To use GrantCharacterToUser, you specify the Item ID of the item instance which is to be used to create the Character. So if you have an item in your Catalog with an Item ID of "FighterCoin", for instance, the client could call GrantCharacterToUser specifying that Item ID for the Character. The CharacterType in the resulting Character would then be "FighterCoin", so that you know what item was used to create it.
Hi Brendan, thanks for the quick reply. I understand now. I can just GrantCharacterToUser and then immediately add inventory to the character once created. Thanks again!
No one has followed this question yet.