# Set Planet Technology Unit

Grammar — Change the technology unit link of planet to unitLink
FlagsNative | Action

Sets the unit for the tech for the specified planet.

# Arguments

  • int [ planet ] — Planet
  • string [ gamelink::Unit ] — Unit Link

Returns — void

native void PlanetSetTechnologyUnitLink(
	int inPlanetId,
	string inUnitLink,
);

Category: Story / Planet Panel / Planet Properties

# Examples

# campaigns/libertystory.sc2campaign

CampaignLib.galaxy

// L6384
PlanetSetTechnologyUnitLink(PlanetLastCreated(), libCamp_gf_StoryTechGroupUnitType(lv_groupEnabled))
// L6392
PlanetSetTechnologyUnitLink(PlanetLastCreated(), "QuestionMark")