# Set Planet Contact Name

Grammar — Change the contact name of planet to contactName|ContactName
FlagsNative | Action

Sets the contact name for the specified planet.

# Arguments

  • int [ planet ] — Planet
  • text — Contact Name

Returns — void

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

Category: Story / Planet Panel / Planet Properties

# Examples

# campaigns/libertystory.sc2campaign

CampaignLib.galaxy

// L6396
PlanetSetContactName(PlanetLastCreated(), libCamp_gv_tS_ContactName[lv_contactIndex])

# campaigns/voidstory.sc2campaign

VoidCampaignUILib.galaxy

// L1715
PlanetSetContactName(PlanetLastCreated(), libVoiC_gf_PC_CampaignMapContactName(lp_mission))