# Set Planet Contact Actor

Grammar — Change the contact actor of planet to contactActor|Actor
FlagsNative | Action

Sets the actor for the contact for the specified planet.

# Arguments

  • int [ planet ] — Planet
  • string [ gamelink::Actor ] — Contact Actor

Returns — void

native void PlanetSetContactActorLink(
	int inPlanetId,
	string inContactActorLink,
);

Category: Story / Planet Panel / Planet Properties

# Examples

# campaigns/voidstory.sc2campaign

VoidCampaignUILib.galaxy

// L1716
PlanetSetContactActorLink(PlanetLastCreated(), libVoiC_gf_PC_CampaignMapContactActor(lp_mission))