# Set Research Category Last Level

Grammar — Set the last level of researchCategory to level
FlagsNative | Action

Sets the last level for the specified research category to the specified level.

# Arguments

Returns — void

native void ResearchCategorySetLastLevel(
	int inResearchCategoryId,
	int inLevel,
);

Category: Story / Research Panel

# Examples

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

    ResearchCategorySetCurrentLevel(libCamp_gv_tS_ResearchUICategories[(libCamp_ge_StoryResearchCategory_ResearchCategoryProtoss)], libCamp_gv_tSX_ResearchUIOldPoints[(libCamp_ge_StoryResearchCategory_ResearchCategoryProtoss)]);
    ResearchCategorySetCurrentLevel(libCamp_gv_tS_ResearchUICategories[(libCamp_ge_StoryResearchCategory_ResearchCategoryZerg)], libCamp_gv_tSX_ResearchUIOldPoints[(libCamp_ge_StoryResearchCategory_ResearchCategoryZerg)]);
    ResearchCategorySetLastLevel(libCamp_gv_tS_ResearchUICategories[(libCamp_ge_StoryResearchCategory_ResearchCategoryProtoss)], libCamp_gv_tSX_ResearchUIOldPoints[(libCamp_ge_StoryResearchCategory_ResearchCategoryProtoss)]);
    ResearchCategorySetLastLevel(libCamp_gv_tS_ResearchUICategories[(libCamp_ge_StoryResearchCategory_ResearchCategoryZerg)], libCamp_gv_tSX_ResearchUIOldPoints[(libCamp_ge_StoryResearchCategory_ResearchCategoryZerg)]);
    libCamp_gf_TS_ResearchUIUpdate();

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

    ResearchCategorySetCurrentLevel(libCamp_gv_tS_ResearchUICategories[(libCamp_ge_StoryResearchCategory_ResearchCategoryZerg)], libCamp_gv_tSX_ResearchUIOldPoints[(libCamp_ge_StoryResearchCategory_ResearchCategoryZerg)]);
    ResearchCategorySetLastLevel(libCamp_gv_tS_ResearchUICategories[(libCamp_ge_StoryResearchCategory_ResearchCategoryProtoss)], libCamp_gv_tSX_ResearchUIOldPoints[(libCamp_ge_StoryResearchCategory_ResearchCategoryProtoss)]);
    ResearchCategorySetLastLevel(libCamp_gv_tS_ResearchUICategories[(libCamp_ge_StoryResearchCategory_ResearchCategoryZerg)], libCamp_gv_tSX_ResearchUIOldPoints[(libCamp_ge_StoryResearchCategory_ResearchCategoryZerg)]);
    libCamp_gf_TS_ResearchUIUpdate();
    libCamp_gv_tSX_ResearchUIOldPoints[(libCamp_ge_StoryResearchCategory_ResearchCategoryProtoss)] = libCamp_gf_StoryResearchPoints(libCamp_ge_StoryResearchCategory_ResearchCategoryProtoss);