# Set Planet Technology Unit
Grammar — Change the technology unit link of planet to unitLink
Flags —Native
|Action
Sets the unit for the tech for the specified planet.
# Arguments
int
[ planet ] — Planetstring
[ gamelink::Unit ] — Unit Link
Returns — void
native void PlanetSetTechnologyUnitLink(
int inPlanetId,
string inUnitLink,
);
# 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
// L6384
PlanetSetTechnologyUnitLink(PlanetLastCreated(), libCamp_gf_StoryTechGroupUnitType(lv_groupEnabled))
// L6392
PlanetSetTechnologyUnitLink(PlanetLastCreated(), "QuestionMark")