# Set Planet Contact Model
Grammar — Change the contact model of planet to contactModel|Model
Flags —Native
|Action
Sets the model for the contact for the specified planet.
# Arguments
int
[ planet ] — Planetstring
[ gamelink::Model ] — Contact Model
Returns — void
native void PlanetSetContactModelLink(
int inPlanetId,
string inContactModelLink,
);
# 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
// L6398
PlanetSetContactModelLink(PlanetLastCreated(), "HansonDistressPortrait")
// L6401
PlanetSetContactModelLink(PlanetLastCreated(), libCamp_gf_ContactPortraitModel(libCamp_gf_MissionContact(lv_mission)))
# campaigns/voidstory.sc2campaign
// L1714
PlanetSetContactModelLink(PlanetLastCreated(), libVoiC_gf_PC_CampaignMapContactPortrait(lp_mission))