# Set Planet Secondary Objective Title

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

Sets the secondary objective title for the specified planet.

# Arguments

  • int [ planet ] — Planet
  • text — Text

Returns — void

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

Category: Story / Planet Panel / Planet Properties

# Examples

# campaigns/libertystory.sc2campaign

CampaignLib.galaxy

// L6351
PlanetSetSecondaryObjectiveTitle(PlanetLastCreated(), StringExternal("UI/PlanetPanelBonusObjectiveTitle"))