# Set Planet Model

Grammar — Change the model of planet to model
FlagsNative | Action

Sets the model for the specified planet.

# Arguments

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

Returns — void

native void PlanetSetPlanetModelLink(
	int inPlanetId,
	string inPlanetModelLink,
);

Category: Story / Planet Panel / Planet Properties

# Examples

# campaigns/libertystory.sc2campaign

CampaignLib.galaxy

// L6331
PlanetSetPlanetModelLink(PlanetLastCreated(), libCamp_gv_tS_PlanetButtonModel[lv_planetIndex])