# Research Panel Close Button Clicked

Grammar — Player player closes the Research Panel
FlagsNative | Event

This event fires when a player closes the research panel.

# Arguments

  • int — Player

Returns — void

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

Category: Story / Research Panel

# Examples

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:25036

void gt_LabResearchClose_Init () {
    gt_LabResearchClose = TriggerCreate("gt_LabResearchClose_Func");
    TriggerAddEventResearchPanelExit(gt_LabResearchClose, c_playerAny);
}

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2mapMapScript.galaxy:25036

void gt_LabResearchClose_Init () {
    gt_LabResearchClose = TriggerCreate("gt_LabResearchClose_Func");
    TriggerAddEventResearchPanelExit(gt_LabResearchClose, c_playerAny);
}

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

void libCamp_gt_TS_ResearchUIExit_Init () {
    libCamp_gt_TS_ResearchUIExit = TriggerCreate("libCamp_gt_TS_ResearchUIExit_Func");
    TriggerAddEventResearchPanelExit(libCamp_gt_TS_ResearchUIExit, c_playerAny);
}

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

void libCamp_gt_TS_DebugResearchPanelCloseButtonClicked_Init () {
    libCamp_gt_TS_DebugResearchPanelCloseButtonClicked = TriggerCreate("libCamp_gt_TS_DebugResearchPanelCloseButtonClicked_Func");
    TriggerAddEventResearchPanelExit(libCamp_gt_TS_DebugResearchPanelCloseButtonClicked, c_playerAny);
}