# Set Planet Primary Objective Title

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

Sets the primary objective title for the specified planet.

# Arguments

  • int<planet> — Planet
  • text — Text

Returns — void

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

Category: Story / Planet Panel / Planet Properties

# Examples

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

        PlanetSetMissionTitle(PlanetLastCreated(), StringExternal("UI/PlanetPanelMissionTitle"));
    }
    PlanetSetPrimaryObjectiveTitle(PlanetLastCreated(), StringExternal("UI/PlanetPanelObjectiveTitle"));
    PlanetSetSecondaryObjectiveTitle(PlanetLastCreated(), StringExternal("UI/PlanetPanelBonusObjectiveTitle"));
    PlanetSetResearchTitle(PlanetLastCreated(), StringExternal("UI/PlanetPanelResearchTitle"));