# 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.sc2campaignbase.sc2data/TriggerLibs/VoidCampaignUILib.galaxy:1716

    PlanetSetContactModelLink(PlanetLastCreated(), libVoiC_gf_PC_CampaignMapContactPortrait(lp_mission));
    PlanetSetContactName(PlanetLastCreated(), libVoiC_gf_PC_CampaignMapContactName(lp_mission));
    PlanetSetContactActorLink(PlanetLastCreated(), libVoiC_gf_PC_CampaignMapContactActor(lp_mission));
    PlanetSetTechnologyTitle(PlanetLastCreated(), StringExternal("Param/Value/lib_VCUI_899CD639"));
    PlanetSetTechnologyTooltipText(PlanetLastCreated(), StringToText(""));