# Set Planet Panel Contact Button State

Grammar — Set state as the current button state for playerGroup
FlagsNative | Action

Sets the state of the contact button on the planet panel for the specified players.

# Arguments

  • playergroup — PlayerGroup
  • int [ preset::PlanetState3 ] — State

Returns — void

native void PlanetPanelSetContactButtonState(
	playergroup players,
	int inState,
);

Category: Story / Planet Panel / Planet Panel

# Examples

# campaigns/liberty.sc2campaign

MapScript.galaxy

// 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

VoidCampaignUILib.galaxy

// L7214
PlanetPanelSetContactButtonState(PlayerGroupAll(), c_planetPanelContactButtonStatePause)
// L7218
PlanetPanelSetContactButtonState(PlayerGroupAll(), c_planetPanelContactButtonStatePlay)