# Set Research Item Tooltip

Grammar — Set the tooltip of researchItem to text
FlagsNative | Action

Sets the tooltip of the specified research item.

# Arguments

Returns — void

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

Category: Story / Research Panel

# Examples

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

        ResearchItemSetIconFilePath(ResearchItemLastCreated(), libCamp_gf_StoryResearchIcon(lv_indexResearch));
        ResearchItemSetMovieFilePath(ResearchItemLastCreated(), libCamp_gf_StoryResearchMovie(lv_indexResearch));
        ResearchItemSetTooltipText(ResearchItemLastCreated(), libCamp_gf_StoryResearchTooltip(lv_indexResearch));
        ResearchItemSetConfirmationText(ResearchItemLastCreated(), libCamp_gf_StoryResearchConfirmationText(lv_indexResearch));
        ResearchItemSetState(ResearchItemLastCreated(), c_researchItemStateEnabled);

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

    while (autoCE1E6292_i <= libCamp_gv_TSC_RESEARCH_LAST) {
        lv_indexResearch = libCamp_gv_tS_ResearchID[autoCE1E6292_i];
        ResearchItemSetTooltipText(libCamp_gv_tS_ResearchUIItem[(lv_indexResearch)], libCamp_gf_StoryResearchTooltip(lv_indexResearch));
        ResearchItemSetState(libCamp_gf_TS_StoryResearchUIItem(lv_indexResearch), c_researchItemStateEnabled);
        autoCE1E6292_i = autoCE1E6292_i + 1;

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

            else {
            }
            ResearchItemSetTooltipText(libCamp_gv_tS_ResearchUIItem[(lv_otherResearch)], lv_tip);
        }