# Set Planet Technology Name

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

Sets the name for the tech for the specified planet.

# Arguments

  • int [ planet ] — Planet
  • text — TechnologyName

Returns — void

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

Category: Story / Planet Panel / Planet Properties

# Examples

# campaigns/libertystory.sc2campaign

CampaignLib.galaxy

// L6381
PlanetSetTechnologyName(PlanetLastCreated(), UnitTypeGetName(libCamp_gf_StoryTechGroupUnitType(lv_groupEnabled)))
// L6387
PlanetSetTechnologyName(PlanetLastCreated(), StringToText(""))
// L6390
PlanetSetTechnologyName(PlanetLastCreated(), StringToText(""))