# Victory Panel Exited

Grammar — Player player exits the victory panel
FlagsNative | Event

This event fires when a player closes the victory panel.

# Arguments

  • int — Player

Returns — void

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

Category: Story / Victory Panel

# Examples

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

void libCamp_gt_TS_VSScreenContinue_Init () {
    libCamp_gt_TS_VSScreenContinue = TriggerCreate("libCamp_gt_TS_VSScreenContinue_Func");
    TriggerAddEventVictoryPanelExit(libCamp_gt_TS_VSScreenContinue, c_playerAny);
}

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

    libVCUI_gt_PU_VictoryContinueTerran = TriggerCreate("libVCUI_gt_PU_VictoryContinueTerran_Func");
    TriggerEnable(libVCUI_gt_PU_VictoryContinueTerran, false);
    TriggerAddEventVictoryPanelExit(libVCUI_gt_PU_VictoryContinueTerran, c_playerAny);
}