# Set Planet Panel Close Button Text
Grammar — Set planet panel close button text to text for playerGroup
Flags —Native
|Action
Sets the text that is displayed on the close button on the planet panel for the specified players.
# Arguments
playergroup
— PlayerGrouptext
— Text
Returns — void
native void PlanetPanelSetBackButtonText(
playergroup players,
text inText,
);
# 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/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignUILib.galaxy:1702
PlanetCreate(PlayerGroupAll(), c_planetStateHidden);
if ((libVoiC_gf_StoryInSimulation() == true)) {
PlanetPanelSetBackButtonText(PlayerGroupAll(), StringExternal("UI/VoidStoryBack"));
PlanetPanelSetBackButtonShortcut(PlayerGroupAll(), StringExternalHotkey("Button/Hotkey/MissionPanelBack"));
}
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignUILib.galaxy:1706
}
else {
PlanetPanelSetBackButtonText(PlayerGroupAll(), StringExternal("UI/VoidStoryQuit"));
PlanetPanelSetBackButtonShortcut(PlayerGroupAll(), StringExternalHotkey("UI/Hotkey/StoryQuit"));
PlanetPanelSetBackButtonTooltip(PlayerGroupAll(), StringExternal("ConversationState/MissionPanelTooltips/Quit_Button/Info/Description"));