# Set Planet Reward Text
Grammar — Change the reward text description of planet to rewardText
Flags —Native
|Action
Sets the reward description for the specified planet.
# Arguments
int
[ planet ] — Planettext
— RewardText
Returns — void
native void PlanetSetRewardText(
int inPlanetId,
text inText,
);
# Related
Category: Story / Planet Panel / Planet Properties
- [F] —
void
— Set Planet Name — ( PlanetSetPlanetName ) - [F] —
void
— Set Planet State — ( PlanetSetState ) - [F] —
void
— Set Planet Model — ( PlanetSetPlanetModelLink ) - [F] —
void
— Set Planet Background Model — ( PlanetSetBackgroundModelLink ) - [F] —
void
— Set Planet Players — ( PlanetSetPlayerGroup ) - [F] —
void
— Set Planet Description — ( PlanetSetDescriptionText ) - [F] —
void
— Set Planet Tooltip — ( PlanetSetTooltipText ) - [F] —
void
— Set Planet Mission Title — ( PlanetSetMissionTitle ) - [F] —
void
— Set Planet Mission Name — ( PlanetSetMissionName ) - [F] —
void
— Set Planet Primary Objective Title — ( PlanetSetPrimaryObjectiveTitle ) - [F] —
void
— Set Planet Primary Objective Text — ( PlanetSetPrimaryObjectiveText ) - [F] —
void
— Set Planet Secondary Objective Text — ( PlanetSetSecondaryObjectiveText ) - [F] —
void
— Set Planet Secondary Objective Title — ( PlanetSetSecondaryObjectiveTitle ) - [F] —
void
— Set Planet Reward Title — ( PlanetSetRewardTitle ) - [F] —
void
— Set Planet Reward Text — ( PlanetSetRewardText ) - [F] —
void
— Set Planet Research Title — ( PlanetSetResearchTitle ) - [F] —
void
— Set Planet Research Text — ( PlanetSetResearchText ) - [F] —
void
— Set Planet Bonus Title — ( PlanetSetBonusTitle ) - [F] —
void
— Set Planet Bonus Text — ( PlanetSetBonusText ) - [F] —
void
— Set Planet Frame Text — ( PlanetSetPlanetText ) - [F] —
void
— Set Planet Contact Title — ( PlanetSetContactTitle ) - [F] —
void
— Set Planet Contact Name — ( PlanetSetContactName ) - [F] —
void
— Set Planet Contact Model — ( PlanetSetContactModelLink ) - [F] —
void
— Set Planet Contact Actor — ( PlanetSetContactActorLink ) - [F] —
void
— Set Planet Contact Tooltip — ( PlanetSetContactTooltipText ) - [F] —
void
— Set Planet Technology Title — ( PlanetSetTechnologyTitle ) - [F] —
void
— Set Planet Technology Name — ( PlanetSetTechnologyName ) - [F] —
void
— Set Planet Technology Text — ( PlanetSetTechnologyText ) - [F] —
void
— Set Planet Technology Icon — ( PlanetSetTechnologyIconFilePath ) - [F] —
void
— Set Planet Technology Unit — ( PlanetSetTechnologyUnitLink ) - [F] —
void
— Set Planet Technology Tooltip — ( PlanetSetTechnologyTooltipText )
# Examples
# campaigns/libertystory.sc2campaign
// L6338
PlanetSetRewardText(PlanetLastCreated(), StringToText(""))
// L6341
PlanetSetRewardText(PlanetLastCreated(), (libCamp_gf_FormatCredits(libCamp_gf_MissionReward(lv_mission), false)))