# Set Purchase Item Name

Grammar — Set the name of purchaseItem|Purchasable to name
FlagsNative | Action

Sets the name for the specified purchase item.

# Arguments

Returns — void

native void PurchaseItemSetNameText(
	int inPurchaseItemId,
	text inText,
);

Category: Story / Tech Purchase Panel / Purchase Items

# Examples

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

            PurchaseItemSetIconFilePath(PurchaseItemLastCreated(), libCamp_gf_StoryTechIcon(lv_indexTech));
            PurchaseItemSetMovieFilePath(PurchaseItemLastCreated(), libCamp_gf_StoryTechMovie(lv_indexTech));
            PurchaseItemSetNameText(PurchaseItemLastCreated(), libCamp_gf_StoryTechName(lv_indexTech));
        }