# Set Mission Archive Mission Text

Grammar — Set the mission text of battleReportId to text
FlagsNative | Action

Sets the mission text for the specified mission archive.

# Arguments

Returns — void

native void BattleReportSetMissionText(
	int inBattleReportId,
	text inText,
);

Category: Story / Mission Archives Panel

# Examples

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

    libCamp_gv_tS_BattleReportMissions[lv_indexMission] = BattleReportLastCreated();
    BattleReportSetButtonImage(BattleReportLastCreated(), libCamp_gv_tS_MissionBattleReportIcon[(lp_mission)]);
    BattleReportSetMissionText(BattleReportLastCreated(), libCamp_gf_MissionNameInUpperCase(lp_mission));
    BattleReportSetMissionImage(BattleReportLastCreated(), libCamp_gv_tS_MissionBattleReportImage[(lp_mission)]);
    lv_index = 1;

campaigns/swarmstoryutil.sc2modbase.sc2data/Lib281DEC45.galaxy:6035

                BattleReportSetPriority(BattleReportLastCreated(), lib281DEC45_gf_ZSS_UIArchivesMissionPriority(lv_mission));
                BattleReportSetDifficultyLevelCompleted(BattleReportLastCreated(), 1, true);
                BattleReportSetMissionText(BattleReportLastCreated(), libSwaC_gf_StoryMapName(lv_mission));
            }
            else {

campaigns/swarmstoryutil.sc2modbase.sc2data/Lib281DEC45.galaxy:6065

                }
                BattleReportSetPriority(BattleReportLastCreated(), lib281DEC45_gf_ZSS_UIArchivesMissionPriority(lv_mission));
                BattleReportSetMissionText(BattleReportLastCreated(), libSwaC_gf_StoryMapName(lv_mission));
            }
            else {

campaigns/voidstory.sc2campaignbase.sc2data/TriggerLibs/VoidCampaignUILib.galaxy:6993

                BattleReportSetPriority(BattleReportLastCreated(), libVCUI_gf_PU_ArchivesMissionPriority(lv_indexMission));
                BattleReportSetDifficultyLevelCompleted(BattleReportLastCreated(), 1, true);
                BattleReportSetMissionText(BattleReportLastCreated(), libVoiC_gf_PC_CampaignMapName(lv_indexMission));
            }
            else {

mods/missionpacks/novacampaign.sc2modbase.sc2data/LibNCUI.galaxy:4236

                BattleReportSetPriority(BattleReportLastCreated(), libNCUI_gf_NU_ArchivesMissionPriority(lv_indexMission));
                BattleReportSetDifficultyLevelCompleted(BattleReportLastCreated(), 1, true);
                BattleReportSetMissionText(BattleReportLastCreated(), libComC_gf_CC_MapName(lv_indexMission));
            }
            else {

mods/voidprologue.sc2modbase.sc2data/LibA3DDD02B.galaxy:9652

            BattleReportSetPriority(BattleReportLastCreated(), libA3DDD02B_gf_PP_ArchivesMissionPriority(lv_indexMission));
            BattleReportSetDifficultyLevelCompleted(BattleReportLastCreated(), 1, true);
            BattleReportSetMissionText(BattleReportLastCreated(), libA3DDD02B_gf_StoryMapName(lv_indexMission));
            DataTableSetString(true, libA3DDD02B_gf_PP_ArchivesDataString(BattleReportLastCreated()), (lv_indexMission));
            DataTableSetInt(true, libA3DDD02B_gf_PP_ArchivesDataTypeString(BattleReportLastCreated()), (libA3DDD02B_ge_PP_ArchivesType_Mission));