# Set Mission Archive Mission Image

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

Sets the mission image for the specified mission archive.

# Arguments

  • int<preset::MissionArchive> — Mission Archive Id
  • string<filepath> — Image

Returns — void

native void BattleReportSetMissionImage(
	int inBattleReportId,
	string inImage,
);

Category: Story / Mission Archives Panel

# Examples

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

    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;
    for ( ; ( (autoFAD0F74B_ai >= 0 && lv_index <= autoFAD0F74B_ae) || (autoFAD0F74B_ai < 0 && lv_index >= autoFAD0F74B_ae) ) ; lv_index += autoFAD0F74B_ai ) {