# Set Planet Bonus Text

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

Sets the bonus description for the specified planet.

# Arguments

  • int<planet> — Planet
  • text — Text

Returns — void

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

Category: Story / Planet Panel / Planet Properties

# Examples

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

    }
    if ((lv_bonusRewards > 0)) {
        PlanetSetBonusText(PlanetLastCreated(), libCamp_gf_FormatCredits(lv_bonusRewards, true));
    }