# Set Planet Contact Tooltip

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

Sets the tooltip for the contact for the specified planet.

# Arguments

  • int<planet> — Planet
  • text — Text

Returns — void

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

Category: Story / Planet Panel / Planet Properties

# Examples

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

    else {
    }
    PlanetSetContactTooltipText(PlanetLastCreated(), ConversationDataStateText(lv_contactTooltipConvo, "Description"));
    if (((lv_mission == libCamp_ge_MapID_MapTValerian01) || (lv_mission == libCamp_ge_MapID_MapTValerian02A) || (lv_mission == libCamp_ge_MapID_MapTValerian02B) || (lv_mission == libCamp_ge_MapID_MapTValerian03))) {
        PlanetSetContactTitle(PlanetLastCreated(), StringToText(""));