# Set Planet Technology Text

Grammar — Change the technology text description of planet to technologyText
FlagsNative | Action

Sets the description for the tech for the specified planet.

# Arguments

  • int<planet> — Planet
  • text — TechnologyText

Returns — void

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

Category: Story / Planet Panel / Planet Properties

# Examples

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

    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));
        PlanetSetTechnologyUnitLink(PlanetLastCreated(), libCamp_gf_StoryTechGroupUnitType(lv_groupEnabled));

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

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