# Set Planet Name

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

Sets the name fo the specified planet.

# Arguments

  • int [ planet ] — Planet
  • text — Name

Returns — void

native void PlanetSetPlanetName(
	int inPlanetId,
	text inText,
);

Category: Story / Planet Panel / Planet Properties

# Examples

# campaigns/libertystory.sc2campaign

CampaignLib.galaxy

// L6330
PlanetSetPlanetName(PlanetLastCreated(), libCamp_gf_PlanetName(lp_planet))