Ok. I'm having a little trouble here, and I think I can work around it by purchasing extra Action Triggers, but I'd rather keep costs to nothing while still in development.
I currently am seeing errors for my Action Trigger when Player.AddedTitle. I obviously hit an Action Trigger limit if I try and grant the inventory items and set all statistics via Triggers. Any suggestions? I'm using a Character to hold the player's "Deck" (card based game), hence the call to create it.
Note: In a newer iteration, I've collapsed the Catalogs, so this only needs to be one call.
handlers.GrantPlayerCharToUseAsDeck = function (args) { var data = server.GrantCharacterToUser({ PlayFabId: currentPlayerId, CharacterName: "Deck", CharacterType: "Deck" }) server.GrantItemsToCharacter({ CharacterId: data.CharacterId, PlayFabId: currentPlayerId, ItemIds: [ "new player inventory" ] }) server.GrantItemsToUser({ PlayFabId: currentPlayerId, ItemIds: [ "evilmushroom", "blacksmith", "knight" ] }) server.GrantItemsToUser({ PlayFabId: currentPlayerId, CatalogVersion: "Avatars", ItemIds: [ "default avatar collection" ] }) server.UpdatePlayerStatistics({ PlayFabId: currentPlayerId, Statistics: [{ StatisticName: "Avatar", Value: 111111 }, { StatisticName: "Arena Score", Value: 0 }, { StatisticName: "Arena Wins", Value: 0 }, { StatisticName: "Arena Defends", Value: 0 }, { StatisticName: "Levels Completed", Value: 100 }, { StatisticName: "Hard Levels Completed", Value: 900 }] }) };