# Set Research Item Name

Grammar — Set the name of researchItem to text|Name
FlagsNative | Action

Sets the name of the specified research item.

# Arguments

Returns — void

native void ResearchItemSetNameText(
	int inResearchItemId,
	text inText,
);

Category: Story / Research Panel

# Examples

campaigns/libertystory.sc2campaignbase.sc2data/TriggerLibs/CampaignLib.galaxy:5558

        libCamp_gv_tS_ResearchUIItem[(lv_indexResearch)] = ResearchItemLastCreated();
        lv_uIItem[lv_categoryIndex][lv_tierIndex][lv_slotIndex] = ResearchItemLastCreated();
        ResearchItemSetNameText(ResearchItemLastCreated(), libCamp_gf_StoryResearchName(lv_indexResearch));
        ResearchItemSetDescriptionText(ResearchItemLastCreated(), libCamp_gf_StoryResearchDescription(lv_indexResearch));
        ResearchItemSetIconFilePath(ResearchItemLastCreated(), libCamp_gf_StoryResearchIcon(lv_indexResearch));