# 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.sc2campaign

CampaignLib.galaxy

// L12484
ResearchItemPurchase(ResearchItemGetSelected(1))