# Set Research Item Movie

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

Sets the movie that will be shown when the specified research item is selected.

# Arguments

  • int<preset::ResearchItem> — Research Item
  • string<filepath> — File Path

Returns — void

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

Category: Story / Research Panel

# Examples

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

        ResearchItemSetDescriptionText(ResearchItemLastCreated(), libCamp_gf_StoryResearchDescription(lv_indexResearch));
        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));