# Set Research Item Icon

Grammar — Set the icon of researchItem to filePath
FlagsNative | Action

Sets the icon for the specified research item.

# Arguments

  • int [ preset::ResearchItem ] — Research Item
  • string [ filepath ] — File Path

Returns — void

native void ResearchItemSetIconFilePath(
	int inResearchItemId,
	string inFilePath,
);

Category: Story / Research Panel

# Examples

# campaigns/libertystory.sc2campaign

CampaignLib.galaxy

// L5560
ResearchItemSetIconFilePath(ResearchItemLastCreated(), libCamp_gf_StoryResearchIcon(lv_indexResearch))