# Set Planet Technology Name
Grammar — Change the technology name of planet to technologyName
Flags —Native
|Action
Sets the name for the tech for the specified planet.
# Arguments
int
<planet> — Planettext
— TechnologyName
Returns — void
native void PlanetSetTechnologyName(
int inPlanetId,
text inText,
);
# Related
Category: Story / Planet Panel / Planet Properties
- Set Planet Name —
void
— PlanetSetPlanetName - Set Planet State —
void
— PlanetSetState - Set Planet Model —
void
— PlanetSetPlanetModelLink - Set Planet Background Model —
void
— PlanetSetBackgroundModelLink - Set Planet Players —
void
— PlanetSetPlayerGroup - Set Planet Description —
void
— PlanetSetDescriptionText - Set Planet Tooltip —
void
— PlanetSetTooltipText - Set Planet Mission Title —
void
— PlanetSetMissionTitle - Set Planet Mission Name —
void
— PlanetSetMissionName - Set Planet Primary Objective Title —
void
— PlanetSetPrimaryObjectiveTitle - Set Planet Primary Objective Text —
void
— PlanetSetPrimaryObjectiveText - Set Planet Secondary Objective Text —
void
— PlanetSetSecondaryObjectiveText - Set Planet Secondary Objective Title —
void
— PlanetSetSecondaryObjectiveTitle - Set Planet Reward Title —
void
— PlanetSetRewardTitle - Set Planet Reward Text —
void
— PlanetSetRewardText - Set Planet Research Title —
void
— PlanetSetResearchTitle - Set Planet Research Text —
void
— PlanetSetResearchText - Set Planet Bonus Title —
void
— PlanetSetBonusTitle - Set Planet Bonus Text —
void
— PlanetSetBonusText - Set Planet Frame Text —
void
— PlanetSetPlanetText - Set Planet Contact Title —
void
— PlanetSetContactTitle - Set Planet Contact Name —
void
— PlanetSetContactName - Set Planet Contact Model —
void
— PlanetSetContactModelLink - Set Planet Contact Actor —
void
— PlanetSetContactActorLink - Set Planet Contact Tooltip —
void
— PlanetSetContactTooltipText - Set Planet Technology Title —
void
— PlanetSetTechnologyTitle - Set Planet Technology Name —
void
— PlanetSetTechnologyName - Set Planet Technology Text —
void
— PlanetSetTechnologyText - Set Planet Technology Icon —
void
— PlanetSetTechnologyIconFilePath - Set Planet Technology Unit —
void
— PlanetSetTechnologyUnitLink - Set Planet Technology Tooltip —
void
— PlanetSetTechnologyTooltipText
# Examples
campaigns/libertystory.sc2campaign — base.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.sc2campaign — base.sc2data/TriggerLibs/CampaignLib.galaxy:6387
}
else {
PlanetSetTechnologyName(PlanetLastCreated(), StringToText(""));
}
if (((lv_mission == libCamp_ge_MapID_MapTTosh03A))) {
campaigns/libertystory.sc2campaign — base.sc2data/TriggerLibs/CampaignLib.galaxy:6390
}
if (((lv_mission == libCamp_ge_MapID_MapTTosh03A))) {
PlanetSetTechnologyName(PlanetLastCreated(), StringToText(""));
PlanetSetTechnologyText(PlanetLastCreated(), StringToText(""));
PlanetSetTechnologyUnitLink(PlanetLastCreated(), "QuestionMark");