# Set Mission Archive Difficulty Best Time Text

Grammar — Set the best time text of difficulty level difficultyLevel|DifficultyLevel for battleReportId to text
FlagsNative | Action

Sets the dificulty-specific best time text for the specified mission archive.

# Arguments

  • int [ preset::MissionArchive ] — Mission Archive Id
  • int [ difficulty ] — Difficulty Level
  • text — Text

Returns — void

native void BattleReportSetDifficultyLevelBestTimeText(
	int inBattleReportId,
	int inDifficultyLevel,
	text inText,
);

Category: Story / Mission Archives Panel

# Examples

# campaigns/libertystory.sc2campaign

CampaignLib.galaxy

// L4231
BattleReportSetDifficultyLevelBestTimeText(BattleReportLastCreated(), 1, libCamp_gf_TS_BattleReportFormatBestTime(lp_mission, 1))
// L4232
BattleReportSetDifficultyLevelBestTimeText(BattleReportLastCreated(), 2, libCamp_gf_TS_BattleReportFormatBestTime(lp_mission, 2))
// L4233
BattleReportSetDifficultyLevelBestTimeText(BattleReportLastCreated(), 3, libCamp_gf_TS_BattleReportFormatBestTime(lp_mission, 3))
// L4234
BattleReportSetDifficultyLevelBestTimeText(BattleReportLastCreated(), 4, libCamp_gf_TS_BattleReportFormatBestTime(lp_mission, 4))