# 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.sc2campaignbase.sc2data/TriggerLibs/CampaignLib.galaxy:6381

    PlanetSetTechnologyTooltipText(PlanetLastCreated(), ConversationDataStateText("PlanetPanelTooltips|TechImage", "Description"));
    if ((lv_groupEnabled != libCamp_ge_StoryTechGroup_StoryTechGroupNone) && (libCamp_gv_tS_TechGroupShowOnReport[lv_groupEnabledIndex] == true)) {
        PlanetSetTechnologyName(PlanetLastCreated(), UnitTypeGetName(libCamp_gf_StoryTechGroupUnitType(lv_groupEnabled)));
        PlanetSetTechnologyText(PlanetLastCreated(), libCamp_gf_StoryTechGroupDescription(lv_groupEnabled));
        PlanetSetTechnologyTooltipText(PlanetLastCreated(), libCamp_gf_StoryTechGroupTooltip(lv_groupEnabled));

campaigns/libertystory.sc2campaignbase.sc2data/TriggerLibs/CampaignLib.galaxy:6387

    }
    else {
        PlanetSetTechnologyName(PlanetLastCreated(), StringToText(""));
    }
    if (((lv_mission == libCamp_ge_MapID_MapTTosh03A))) {

campaigns/libertystory.sc2campaignbase.sc2data/TriggerLibs/CampaignLib.galaxy:6390

    }
    if (((lv_mission == libCamp_ge_MapID_MapTTosh03A))) {
        PlanetSetTechnologyName(PlanetLastCreated(), StringToText(""));
        PlanetSetTechnologyText(PlanetLastCreated(), StringToText(""));
        PlanetSetTechnologyUnitLink(PlanetLastCreated(), "QuestionMark");