# Set Planet Panel Contact Button State
Grammar — Set state as the current button state for playerGroup
Flags —Native
|Action
Sets the state of the contact button on the planet panel for the specified players.
# Arguments
playergroup
— PlayerGroupint
[ preset::PlanetState3 ] — State
Returns — void
native void PlanetPanelSetContactButtonState(
playergroup players,
int inState,
);
# Related
Category: Story / Planet Panel / Planet Panel
- [F] —
void
— Planet Panel Planet Selected — ( TriggerAddEventPlanetMissionSelected ) - [F] —
void
— Planet Panel Launched — ( TriggerAddEventPlanetMissionLaunched ) - [F] —
void
— Planet Panel Canceled — ( TriggerAddEventPlanetPanelCanceled ) - [F] —
void
— Planet Panel Pressed Replay Button — ( TriggerAddEventPlanetPanelReplayPressed ) - [F] —
void
— Planet Panel Birth Complete — ( TriggerAddEventPlanetPanelBirthComplete ) - [F] —
void
— Planet Panel Death Complete — ( TriggerAddEventPlanetPanelDeathComplete ) - [F] —
int
[ planet ] — Clicked Planet — ( EventPlanetPanelMissionSelected ) - [F] —
int
[ planet ] — Selected Planet — ( PlanetGetSelected ) - [F] —
int
[ difficulty ] — Selected Mission Difficulty — ( EventPlanetPanelDifficultySelected ) - [F] —
int
[ preset::PlanetState3 ] — Planet Panel Contact Button State — ( PlanetPanelGetContactButtonState ) - [F] —
void
— Set Planet Panel Contact Button State — ( PlanetPanelSetContactButtonState ) - [F] —
void
— Set Planet Panel Background Image — ( PlanetPanelSetBackgroundImage ) - [F] —
void
— Enable/Disable Planet Panel Close Button — ( PlanetPanelSetBackButtonEnabled ) - [F] —
void
— Set Planet Panel Close Button Text — ( PlanetPanelSetBackButtonText ) - [F] —
void
— Set Planet Panel Close Button Shortcut — ( PlanetPanelSetBackButtonShortcut ) - [F] —
void
— Set Planet Panel Close Button Tooltip — ( PlanetPanelSetBackButtonTooltip ) - [F] —
void
— Enable/Disable Planet Panel Dismiss Button — ( PlanetPanelSetDismissButtonEnabled ) - [F] —
void
— Set Selected Planet — ( PlanetSetSelected ) - [F] —
void
— Clear Selected Planet — ( PlanetClearSelected )
# Examples
# campaigns/liberty.sc2campaign
// L10238
PlanetPanelSetContactButtonState(PlayerGroupAll(), c_planetPanelContactButtonStatePlay)
// L10251
PlanetPanelSetContactButtonState(PlayerGroupAll(), c_planetPanelContactButtonStateDisabled)
// L10257
PlanetPanelSetContactButtonState(PlayerGroupAll(), c_planetPanelContactButtonStatePlay)
// L10260
PlanetPanelSetContactButtonState(PlayerGroupAll(), c_planetPanelContactButtonStateBlinking)
// L10281
PlanetPanelSetContactButtonState(PlayerGroupAll(), c_planetPanelContactButtonStateDisabled)
// L25070
PlanetPanelSetContactButtonState(PlayerGroupAll(), c_planetPanelContactButtonStatePlay)
// L25074
PlanetPanelSetContactButtonState(PlayerGroupAll(), c_planetPanelContactButtonStateBlinking)
// L25174
PlanetPanelSetContactButtonState(PlayerGroupAll(), c_planetPanelContactButtonStatePlay)
// L25196
PlanetPanelSetContactButtonState(PlayerGroupAll(), c_planetPanelContactButtonStatePause)
// L25206
PlanetPanelSetContactButtonState(PlayerGroupAll(), c_planetPanelContactButtonStatePlay)
// L10238
PlanetPanelSetContactButtonState(PlayerGroupAll(), c_planetPanelContactButtonStatePlay)
// L10251
PlanetPanelSetContactButtonState(PlayerGroupAll(), c_planetPanelContactButtonStateDisabled)
// L10257
PlanetPanelSetContactButtonState(PlayerGroupAll(), c_planetPanelContactButtonStatePlay)
// L10260
PlanetPanelSetContactButtonState(PlayerGroupAll(), c_planetPanelContactButtonStateBlinking)
// L10281
PlanetPanelSetContactButtonState(PlayerGroupAll(), c_planetPanelContactButtonStateDisabled)
// L25070
PlanetPanelSetContactButtonState(PlayerGroupAll(), c_planetPanelContactButtonStatePlay)
// L25074
PlanetPanelSetContactButtonState(PlayerGroupAll(), c_planetPanelContactButtonStateBlinking)
// L25174
PlanetPanelSetContactButtonState(PlayerGroupAll(), c_planetPanelContactButtonStatePlay)
// L25196
PlanetPanelSetContactButtonState(PlayerGroupAll(), c_planetPanelContactButtonStatePause)
// L25206
PlanetPanelSetContactButtonState(PlayerGroupAll(), c_planetPanelContactButtonStatePlay)
# campaigns/voidstory.sc2campaign
// L7214
PlanetPanelSetContactButtonState(PlayerGroupAll(), c_planetPanelContactButtonStatePause)
// L7218
PlanetPanelSetContactButtonState(PlayerGroupAll(), c_planetPanelContactButtonStatePlay)