# 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.sc2campaign

CampaignLib.galaxy

// L6374
PlanetSetBonusText(PlanetLastCreated(), libCamp_gf_FormatCredits(lv_bonusRewards, true))