# Add Mission Archive Achievement

Grammar — Add achievement achievement|Achievement to battleReportId
FlagsNative | Action

This will only work on Blizzard maps.

# Arguments

  • int<preset::MissionArchive> — Mission Archive Id
  • string<gamelink::Achievement> — Achievement

Returns — void

native void BattleReportAddAchievement(
	int inBattleReportId,
	string inAchievement,
);

Category: Story / Mission Archives Panel

# Examples

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

    for ( ; ( (autoFAD0F74B_ai >= 0 && lv_index <= autoFAD0F74B_ae) || (autoFAD0F74B_ai < 0 && lv_index >= autoFAD0F74B_ae) ) ; lv_index += autoFAD0F74B_ai ) {
        if ((libCamp_gv_tS_MapAchievements[(lp_mission)][lv_index] != null)) {
            BattleReportAddAchievement(BattleReportLastCreated(), libCamp_gv_tS_MapAchievements[(lp_mission)][lv_index]);
        }