# Set Purchase Item Description

Grammar — Set the description purchaseItem|Purchasable to description
FlagsNative | Action

Sets the description for the specified purchase item.

# Arguments

  • int<preset::PurchaseItem> — Purchase Item
  • text — Description

Returns — void

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

Category: Story / Tech Purchase Panel / Purchase Items

# Examples

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


        PurchaseItemSetTooltipText(libCamp_gv_tS_Tech_UI[lv_techIndex], lv_tooltip);
        PurchaseItemSetDescriptionText(libCamp_gv_tS_Tech_UI[(lv_indexTech)], (libCamp_gf_StoryTechDescription(lv_indexTech)));
        autoB1B8A49C_val = libCamp_gv_tSX_Tech_Status[lv_techIndex];
        if (autoB1B8A49C_val == libCamp_ge_StoryTechStates_TechLocked) {