# Set Mission Archive Difficulty Completed

Grammar — Set the difficulty level difficultyLevel|DifficultyLevel of battleReportId as completed to completed
FlagsNative | Action

Flags a difficulty level as completed for the specified mission archive.

# Arguments

  • int [ preset::MissionArchive ] — Mission Archive Id
  • int [ difficulty ] — Difficulty Level
  • bool — Completed

Returns — void

native void BattleReportSetDifficultyLevelCompleted(
	int inBattleReportId,
	int inDifficultyLevel,
	bool inCompleted,
);

Category: Story / Mission Archives Panel

# Examples

# campaigns/libertystory.sc2campaign

CampaignLib.galaxy

// L4227
BattleReportSetDifficultyLevelCompleted(BattleReportLastCreated(), 1, libCamp_gf_MissionDifficultyCompleted(lp_mission, 1))
// L4228
BattleReportSetDifficultyLevelCompleted(BattleReportLastCreated(), 2, libCamp_gf_MissionDifficultyCompleted(lp_mission, 2))
// L4229
BattleReportSetDifficultyLevelCompleted(BattleReportLastCreated(), 3, libCamp_gf_MissionDifficultyCompleted(lp_mission, 3))
// L4230
BattleReportSetDifficultyLevelCompleted(BattleReportLastCreated(), 4, libCamp_gf_MissionDifficultyCompleted(lp_mission, 4))

# campaigns/swarmstoryutil.sc2mod

Lib281DEC45.galaxy

// L6034
BattleReportSetDifficultyLevelCompleted(BattleReportLastCreated(), 1, true)

# campaigns/voidstory.sc2campaign

VoidCampaignUILib.galaxy

// L6992
BattleReportSetDifficultyLevelCompleted(BattleReportLastCreated(), 1, true)

# mods/missionpacks/novacampaign.sc2mod

LibNCUI.galaxy

// L4235
BattleReportSetDifficultyLevelCompleted(BattleReportLastCreated(), 1, true)

# mods/voidprologue.sc2mod

LibA3DDD02B.galaxy

// L9651
BattleReportSetDifficultyLevelCompleted(BattleReportLastCreated(), 1, true)