# Set Planet Background Model

Grammar — Change the background model of planet to backgroundModel|Model
FlagsNative | Action

Sets the background model for the specified planet.

# Arguments

  • int [ planet ] — Planet
  • string [ gamelink::Model ] — Background Model

Returns — void

native void PlanetSetBackgroundModelLink(
	int inPlanetId,
	string inBackgroundModelLink,
);

Category: Story / Planet Panel / Planet Properties

# Examples

# campaigns/libertystory.sc2campaign

CampaignLib.galaxy

// L6332
PlanetSetBackgroundModelLink(PlanetLastCreated(), libCamp_gv_tS_PlanetModel[lv_planetIndex])

# campaigns/voidstory.sc2campaign

VoidCampaignUILib.galaxy

// L1713
PlanetSetBackgroundModelLink(PlanetLastCreated(), "SMX2_UI_Screens_Loading_Epilogue02")