# Purchase Research Item

Grammar — Purchase researchItem
FlagsNative | Action

Combined with the “Set Research Tier Max Purchases Allowed”, this function will perform logic to mark the given research item as purchased, and flag any other research items in the tier that are past the max purchases allowed as disabled.

# Arguments

Returns — void

native void ResearchItemPurchase(int inResearchItemId);

Category: Story / Research Panel

# Examples

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

    }

    ResearchItemPurchase(ResearchItemGetSelected(1));
    libCamp_gf_SetStoryResearchPurchased(lv_researchID);
    libCamp_gf_TS_ResearchUIUpdate();