# Set Planet Mission Name

Grammar — Change the mission name of planet to missionName|MissionName
FlagsNative | Action

Sets the mission name for the specified planet.

# Arguments

  • int<planet> — Planet
  • text — Mission Name

Returns — void

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

Category: Story / Planet Panel / Planet Properties

# Examples

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

    PlanetSetBackgroundModelLink(PlanetLastCreated(), libCamp_gv_tS_PlanetModel[lv_planetIndex]);
    PlanetSetTooltipText(PlanetLastCreated(), libCamp_gf_MissionPlanetInfo(lv_mission));
    PlanetSetMissionName(PlanetLastCreated(), libCamp_gf_MissionNameInUpperCase(lv_mission));
    PlanetSetPrimaryObjectiveText(PlanetLastCreated(), (libCamp_gf_MissionObjectivesText(lv_mission)));
    PlanetSetRewardTitle(PlanetLastCreated(), StringExternal("Param/Value/lib_Camp_98485AE1"));

campaigns/voidstory.sc2campaignbase.sc2data/TriggerLibs/VoidCampaignUILib.galaxy:1711

    }
    libVCUI_gv_pU_MissionNextMap = lp_mission;
    PlanetSetMissionName(PlanetLastCreated(), libVoiC_gf_PC_CampaignMapName(libVCUI_gv_pU_MissionNextMap));
    PlanetSetPrimaryObjectiveText(PlanetLastCreated(), StringExternal(libVCUI_gf_PU_MissionProperty("PrimaryObjectiveText")));
    PlanetSetBackgroundModelLink(PlanetLastCreated(), "SMX2_UI_Screens_Loading_Epilogue02");