# Set Planet Technology Tooltip

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

Sets the tooltip for the tech for the specified planet.

# Arguments

  • int [ planet ] — Planet
  • text — Text

Returns — void

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

Category: Story / Planet Panel / Planet Properties

# Examples

# campaigns/libertystory.sc2campaign

CampaignLib.galaxy

// L6379
PlanetSetTechnologyTooltipText(PlanetLastCreated(), ConversationDataStateText("PlanetPanelTooltips|TechImage", "Description"))
// L6383
PlanetSetTechnologyTooltipText(PlanetLastCreated(), libCamp_gf_StoryTechGroupTooltip(lv_groupEnabled))

# campaigns/voidstory.sc2campaign

VoidCampaignUILib.galaxy

// L1718
PlanetSetTechnologyTooltipText(PlanetLastCreated(), StringToText(""))