# Planet Panel Launched
Grammar — Player player launches the planet panel
Flags —Native
|Event
This event fires when the specified player opens the planet panel.
# Arguments
int
— Player
Returns — void
native void TriggerAddEventPlanetMissionLaunched(
trigger t,
int player,
);
# Related
Category: Story / Planet Panel / Planet Panel
- Planet Panel Planet Selected —
void
— TriggerAddEventPlanetMissionSelected - Planet Panel Launched —
void
— TriggerAddEventPlanetMissionLaunched - Planet Panel Canceled —
void
— TriggerAddEventPlanetPanelCanceled - Planet Panel Pressed Replay Button —
void
— TriggerAddEventPlanetPanelReplayPressed - Planet Panel Birth Complete —
void
— TriggerAddEventPlanetPanelBirthComplete - Planet Panel Death Complete —
void
— TriggerAddEventPlanetPanelDeathComplete - Clicked Planet —
int
<planet> — EventPlanetPanelMissionSelected - Selected Planet —
int
<planet> — PlanetGetSelected - Selected Mission Difficulty —
int
<difficulty> — EventPlanetPanelDifficultySelected - Planet Panel Contact Button State —
int
<preset::PlanetState3> — PlanetPanelGetContactButtonState - Set Planet Panel Contact Button State —
void
— PlanetPanelSetContactButtonState - Set Planet Panel Background Image —
void
— PlanetPanelSetBackgroundImage - Enable/Disable Planet Panel Close Button —
void
— PlanetPanelSetBackButtonEnabled - Set Planet Panel Close Button Text —
void
— PlanetPanelSetBackButtonText - Set Planet Panel Close Button Shortcut —
void
— PlanetPanelSetBackButtonShortcut - Set Planet Panel Close Button Tooltip —
void
— PlanetPanelSetBackButtonTooltip - Enable/Disable Planet Panel Dismiss Button —
void
— PlanetPanelSetDismissButtonEnabled - Set Selected Planet —
void
— PlanetSetSelected - Clear Selected Planet —
void
— PlanetClearSelected
# Examples
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:25141
void gt_PlanetPanelLaunch_Init () {
gt_PlanetPanelLaunch = TriggerCreate("gt_PlanetPanelLaunch_Func");
TriggerAddEventPlanetMissionLaunched(gt_PlanetPanelLaunch, c_playerAny);
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2map — MapScript.galaxy:25141
void gt_PlanetPanelLaunch_Init () {
gt_PlanetPanelLaunch = TriggerCreate("gt_PlanetPanelLaunch_Func");
TriggerAddEventPlanetMissionLaunched(gt_PlanetPanelLaunch, c_playerAny);
}
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignUILib.galaxy:7187
void libVCUI_gt_PU_MissionTerranLaunchClicked_Init () {
libVCUI_gt_PU_MissionTerranLaunchClicked = TriggerCreate("libVCUI_gt_PU_MissionTerranLaunchClicked_Func");
TriggerAddEventPlanetMissionLaunched(libVCUI_gt_PU_MissionTerranLaunchClicked, c_playerAny);
}