I have setup a Rule for Event type playfab.authentication.logged_in, the action is Execute Entity Cloud Script as below screenshot
I also add below code in my CloudScript
handlers.startOfflineQuest = function (args, context) { var playerStatUpdatedEvent = context.playStreamEvent; var request = { PlayFabId: currentPlayerId, Data: { "HighSkillContent": "true" } }; var playerInternalData = server.UpdateUserInternalData(request); log.info('Unlocked HighSkillContent for ' + context.playerProfile.DisplayName); return { profile: context.playerProfile }; }
The startOfflineQuest seems like is not executed.
Do anyone have an idea on how to make Execute Entity Cloud Script action execute a cloudscript method.
Thanks!