# 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.sc2campaignbase.sc2data/TriggerLibs/CampaignLib.galaxy:4231

    BattleReportSetDifficultyLevelCompleted(BattleReportLastCreated(), 3, libCamp_gf_MissionDifficultyCompleted(lp_mission, 3));
    BattleReportSetDifficultyLevelCompleted(BattleReportLastCreated(), 4, libCamp_gf_MissionDifficultyCompleted(lp_mission, 4));
    BattleReportSetDifficultyLevelBestTimeText(BattleReportLastCreated(), 1, libCamp_gf_TS_BattleReportFormatBestTime(lp_mission, 1));
    BattleReportSetDifficultyLevelBestTimeText(BattleReportLastCreated(), 2, libCamp_gf_TS_BattleReportFormatBestTime(lp_mission, 2));
    BattleReportSetDifficultyLevelBestTimeText(BattleReportLastCreated(), 3, libCamp_gf_TS_BattleReportFormatBestTime(lp_mission, 3));

campaigns/libertystory.sc2campaignbase.sc2data/TriggerLibs/CampaignLib.galaxy:4232

    BattleReportSetDifficultyLevelCompleted(BattleReportLastCreated(), 4, libCamp_gf_MissionDifficultyCompleted(lp_mission, 4));
    BattleReportSetDifficultyLevelBestTimeText(BattleReportLastCreated(), 1, libCamp_gf_TS_BattleReportFormatBestTime(lp_mission, 1));
    BattleReportSetDifficultyLevelBestTimeText(BattleReportLastCreated(), 2, libCamp_gf_TS_BattleReportFormatBestTime(lp_mission, 2));
    BattleReportSetDifficultyLevelBestTimeText(BattleReportLastCreated(), 3, libCamp_gf_TS_BattleReportFormatBestTime(lp_mission, 3));
    BattleReportSetDifficultyLevelBestTimeText(BattleReportLastCreated(), 4, libCamp_gf_TS_BattleReportFormatBestTime(lp_mission, 4));

campaigns/libertystory.sc2campaignbase.sc2data/TriggerLibs/CampaignLib.galaxy:4233

    BattleReportSetDifficultyLevelBestTimeText(BattleReportLastCreated(), 1, libCamp_gf_TS_BattleReportFormatBestTime(lp_mission, 1));
    BattleReportSetDifficultyLevelBestTimeText(BattleReportLastCreated(), 2, libCamp_gf_TS_BattleReportFormatBestTime(lp_mission, 2));
    BattleReportSetDifficultyLevelBestTimeText(BattleReportLastCreated(), 3, libCamp_gf_TS_BattleReportFormatBestTime(lp_mission, 3));
    BattleReportSetDifficultyLevelBestTimeText(BattleReportLastCreated(), 4, libCamp_gf_TS_BattleReportFormatBestTime(lp_mission, 4));
    BattleReportSetPriority(BattleReportLastCreated(), lp_priority);

campaigns/libertystory.sc2campaignbase.sc2data/TriggerLibs/CampaignLib.galaxy:4234

    BattleReportSetDifficultyLevelBestTimeText(BattleReportLastCreated(), 2, libCamp_gf_TS_BattleReportFormatBestTime(lp_mission, 2));
    BattleReportSetDifficultyLevelBestTimeText(BattleReportLastCreated(), 3, libCamp_gf_TS_BattleReportFormatBestTime(lp_mission, 3));
    BattleReportSetDifficultyLevelBestTimeText(BattleReportLastCreated(), 4, libCamp_gf_TS_BattleReportFormatBestTime(lp_mission, 4));
    BattleReportSetPriority(BattleReportLastCreated(), lp_priority);
    if (((lp_mission != libCamp_ge_MapID_MapTHanson03B) && (lp_mission != libCamp_ge_MapID_MapTTosh03B) && (lp_mission != libCamp_ge_MapID_MapTValerian02B) && ((lp_mission != libCamp_ge_MapID_MapTHorner05S) || (libCamp_gf_TS_BattleReportMissionCompleted(libCamp_ge_MapID_MapTHorner05S) == true)))) {