# Victory Panel Exited
Grammar — Player player exits the victory panel
Flags —Native
|Event
This event fires when a player closes the victory panel.
# Arguments
int
— Player
Returns — void
native void TriggerAddEventVictoryPanelExit(
trigger t,
int player,
);
# Related
Category: Story / Victory Panel
- Victory Panel Play Mission Again —
void
— TriggerAddEventVictoryPanelPlayMissionAgain - Victory Panel Exited —
void
— TriggerAddEventVictoryPanelExit - Selected Victory Difficulty —
int
<difficulty> — EventVictoryPanelDifficultySelected - Set Victory Panel Victory Text —
void
— VictoryPanelSetVictoryText - Set Victory Panel Mission Title —
void
— VictoryPanelSetMissionTitle - Set Victory Panel Mission Text —
void
— VictoryPanelSetMissionText - Set Victory Panel Time Title —
void
— VictoryPanelSetMissionTimeTitle - Set Victory Panel Time Text —
void
— VictoryPanelSetMissionTimeText - Set Victory Panel Reward Title —
void
— VictoryPanelSetRewardTitle - Set Victory Panel Reward Text —
void
— VictoryPanelSetRewardText - Set Victory Panel Reward Credits —
void
— VictoryPanelSetRewardCredits - Set Victory Panel Achievements Title —
void
— VictoryPanelSetAchievementsTitle - Add Victory Panel Achievement —
void
— VictoryPanelAddAchievement - Set Victory Panel Statistics Title —
void
— VictoryPanelSetStatisticsTitle - Add Victory Panel Tracked Statistic —
void
— VictoryPanelAddTrackedStatistic - Enable/Disable All Score Tracking —
void
— PlayerScoreValueEnableAll - Enable/Disable Score Tracking —
void
— PlayerScoreValueEnable - Add Victory Panel Custom Statistic Line —
void
— VictoryPanelAddCustomStatisticLine - Set Victory Panel Custom Statistic Text —
void
— VictoryPanelSetCustomStatisticText - Set Victory Panel Custom Statistic Value —
void
— VictoryPanelSetCustomStatisticValue - Clear Victory Panel Custom Statistic Table —
void
— VictoryPanelClearCustomStatisticTable - Set Victory Panel Background Model —
void
— VictoryPanelSetPlanetModelLink - Set Victory Panel Background Image —
void
— VictoryPanelSetBackgroundFilePath - Set Victory Panel Summary Background Image —
void
— VictoryPanelSetSummaryBackgroundFilePath
# Examples
campaigns/libertystory.sc2campaign — base.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.sc2campaign — base.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);
}