# Victory Panel Play Mission Again

Grammar — Player player uses the Play Again button in the victory panel
FlagsNative | Event

This event fires when a player clicks the play again button on the victory panel.

# Arguments

  • int — Player

Returns — void

native void TriggerAddEventVictoryPanelPlayMissionAgain(
	trigger t,
	int player,
);

Category: Story / Victory Panel

# Examples

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

void libCamp_gt_TS_VSScreenPlayAgain_Init () {
    libCamp_gt_TS_VSScreenPlayAgain = TriggerCreate("libCamp_gt_TS_VSScreenPlayAgain_Func");
    TriggerAddEventVictoryPanelPlayMissionAgain(libCamp_gt_TS_VSScreenPlayAgain, c_playerAny);
}

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

    libVCUI_gt_PU_VictoryPlayAgainTerran = TriggerCreate("libVCUI_gt_PU_VictoryPlayAgainTerran_Func");
    TriggerEnable(libVCUI_gt_PU_VictoryPlayAgainTerran, false);
    TriggerAddEventVictoryPanelPlayMissionAgain(libVCUI_gt_PU_VictoryPlayAgainTerran, c_playerAny);
}