MissionFailed

Introduction

  • Backend Name: mission_fail

  • Description: The player failed a mission

  • Event Type: Level

  • Priority: P1

Parameters

NameTypeSelectBackend nameDescription
additionalDataDictionaryOptionaladditional_dataAny additional information
isTutorialboolRequiredis_tutorialIs it a tutorial?
missionAttemptintRequiredmission_attemptNumber of times user has played Game Level N (second play of Game Level N = 2)
missionIDstringRequiredmission_idThe unique ID for the mission.
missionNamestringOptionalmission_name
missionTypestringOptionalmission_typeIndicate the type of the mission, level, task, quests etc.
userScoreintRequireduser_scoreThe player’s score
missionIDstringOptionalmission_id
failReasonstringOptionalfail_reason

Code example

LionAnalytics.MissionFailed(false, "bossFight", "fight_level_12", "boss_fight_2", 2568, 10);