# Research Panel Close Button Clicked
Grammar — Player player closes the Research Panel
Flags —Native
|Event
This event fires when a player closes the research panel.
# Arguments
int
— Player
Returns — void
native void TriggerAddEventResearchPanelExit(
trigger t,
int player,
);
# Related
Category: Story / Research Panel
- Research Panel Close Button Clicked —
void
— TriggerAddEventResearchPanelExit - Create Research Tier —
int
<preset::ResearchTier> — ResearchTierCreate - Last Created Research Tier —
int
<preset::ResearchTier> — ResearchTierLastCreated - Destroy Research Tier —
void
— ResearchTierDestroy - Destroy All Research Tiers —
void
— ResearchTierDestroyAll - Set Research Tier Required Level —
void
— ResearchTierSetRequiredLevel - Set Research Tier Max Purchases Allowed —
void
— ResearchTierSetMaxPurchasesAllowed - Create Research Category —
int
<preset::ResearchCategory> — ResearchCategoryCreate - Last Created Research Category —
int
<preset::ResearchCategory> — ResearchCategoryLastCreated - Destroy Research Category —
void
— ResearchCategoryDestroy - Destroy All Research Categories —
void
— ResearchCategoryDestroyAll - Set Research Category Name —
void
— ResearchCategorySetNameText - Set Research Category Current Level —
void
— ResearchCategorySetCurrentLevel - Set Research Category Last Level —
void
— ResearchCategorySetLastLevel - Create Research Item —
int
<preset::ResearchItem> — ResearchItemCreate - Last Created Research Item —
int
<preset::ResearchItem> — ResearchItemLastCreated - Destroy Research Item —
void
— ResearchItemDestroy - Purchase Research Item —
void
— ResearchItemPurchase - Set Research Item State —
void
— ResearchItemSetState - Set Research Item Icon —
void
— ResearchItemSetIconFilePath - Set Research Item Movie —
void
— ResearchItemSetMovieFilePath - Set Research Item Name —
void
— ResearchItemSetNameText - Set Research Item Description —
void
— ResearchItemSetDescriptionText - Set Research Item Tooltip —
void
— ResearchItemSetTooltipText - Set Research Item Confirmation —
void
— ResearchItemSetConfirmationText - Research Panel Research Button Clicked —
void
— TriggerAddEventResearchPanelPurchase - Research Panel Selection Changed —
void
— TriggerAddEventResearchPanelSelectionChanged - Set Research Item Recently Purchased —
void
— ResearchItemSetRecentlyPurchased - Research Item Is Recently Purchased —
bool
— ResearchItemIsRecentlyPurchased - Set Selected Research Item —
void
— ResearchItemSetSelected - Selected Research Item —
int
<preset::ResearchItem> — ResearchItemGetSelected
# Examples
campaigns/liberty.sc2campaign — base.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.sc2map — MapScript.galaxy:25036
void gt_LabResearchClose_Init () {
gt_LabResearchClose = TriggerCreate("gt_LabResearchClose_Func");
TriggerAddEventResearchPanelExit(gt_LabResearchClose, c_playerAny);
}
campaigns/libertystory.sc2campaign — base.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.sc2campaign — base.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);
}