# Set Planet Mission Title

Grammar — Change the mission title of planet to text
FlagsNative | Action

Sets the mission title for the specified planet.

# Arguments

  • int<planet> — Planet
  • text — Text

Returns — void

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

Category: Story / Planet Panel / Planet Properties

# Examples

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

    }
    if ((lv_mission == libCamp_ge_MapID_MapTHorner05S)) {
        PlanetSetMissionTitle(PlanetLastCreated(), StringExternal("Param/Value/lib_Camp_549F1F43"));
        PlanetSetPlanetText(PlanetLastCreated(), StringExternal("Param/Value/lib_Camp_50B1B2CB"));
    }

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

    }
    else {
        PlanetSetMissionTitle(PlanetLastCreated(), StringExternal("UI/PlanetPanelMissionTitle"));
    }
    PlanetSetPrimaryObjectiveTitle(PlanetLastCreated(), StringExternal("UI/PlanetPanelObjectiveTitle"));