# Set Planet Bonus Title

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

Sets the bonus title for the specified planet.

# Arguments

  • int<planet> — Planet
  • text — Text

Returns — void

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

Category: Story / Planet Panel / Planet Properties

# Examples

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

    PlanetSetSecondaryObjectiveTitle(PlanetLastCreated(), StringExternal("UI/PlanetPanelBonusObjectiveTitle"));
    PlanetSetResearchTitle(PlanetLastCreated(), StringExternal("UI/PlanetPanelResearchTitle"));
    PlanetSetBonusTitle(PlanetLastCreated(), StringExternal("UI/PlanetPanelBonusTitle"));
    if ((lv_mission == libCamp_ge_MapID_MapTHanson03A)) {
        lv_researchText = StringExternal("Param/Value/lib_Camp_843C196A");