# Set Planet Reward Text

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

Sets the reward description for the specified planet.

# Arguments

  • int [ planet ] — Planet
  • text — RewardText

Returns — void

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

Category: Story / Planet Panel / Planet Properties

# Examples

# campaigns/libertystory.sc2campaign

CampaignLib.galaxy

// L6338
PlanetSetRewardText(PlanetLastCreated(), StringToText(""))
// L6341
PlanetSetRewardText(PlanetLastCreated(), (libCamp_gf_FormatCredits(libCamp_gf_MissionReward(lv_mission), false)))