# Set Planet Panel Background Image

Grammar — Set the background of the planet panel to image for playerGroup
FlagsNative | Action

Sets the background image for the planet panel for the specified players.

# Arguments

  • playergroup — PlayerGroup
  • string [ filepath ] — Image

Returns — void

native void PlanetPanelSetBackgroundImage(
	playergroup players,
	string inFilePath,
);

Category: Story / Planet Panel / Planet Panel

# Examples

# campaigns/liberty.sc2campaign

MapScript.galaxy

// L22455
PlanetPanelSetBackgroundImage(PlayerGroupAll(), "Assets\\Textures\\ui_planetpanel_frame_backdrop_space.dds")
// L23470
PlanetPanelSetBackgroundImage(PlayerGroupAll(), "Assets\\Textures\\ui_marsarabriefcase_background.dds")
// L24531
PlanetPanelSetBackgroundImage(PlayerGroupAll(), "Assets\\Textures\\ui_marsarabriefcase_background.dds")
// L22455
PlanetPanelSetBackgroundImage(PlayerGroupAll(), "Assets\\Textures\\ui_planetpanel_frame_backdrop_space.dds")
// L23470
PlanetPanelSetBackgroundImage(PlayerGroupAll(), "Assets\\Textures\\ui_marsarabriefcase_background.dds")
// L24531
PlanetPanelSetBackgroundImage(PlayerGroupAll(), "Assets\\Textures\\ui_marsarabriefcase_background.dds")

# campaigns/voidstory.sc2campaign

VoidCampaignUILib.galaxy

// L1721
PlanetPanelSetBackgroundImage(PlayerGroupAll(), "Assets\\Textures\\ui_planetpanel_frame_backdrop_space.dds")