# Set Purchase Item Description
Grammar — Set the description purchaseItem|Purchasable to description
Flags —Native
|Action
Sets the description for the specified purchase item.
# Arguments
int
<preset::PurchaseItem> — Purchase Itemtext
— Description
Returns — void
native void PurchaseItemSetDescriptionText(
int inPurchaseItemId,
text inText,
);
# Related
Category: Story / Tech Purchase Panel / Purchase Items
- Create Purchase Item —
int
<preset::PurchaseItem> — PurchaseItemCreate - Last Created Purchase Item —
int
<preset::PurchaseItem> — PurchaseItemLastCreated - Destroy Purchase Item —
void
— PurchaseItemDestroy - Destroy All Purchase Items —
void
— PurchaseItemDestroyAll - Set Purchase Item Name —
void
— PurchaseItemSetNameText - Set Purchase Item Tooltip —
void
— PurchaseItemSetTooltipText - Set Purchase Item Description —
void
— PurchaseItemSetDescriptionText - Set Purchase Item Cost —
void
— PurchaseItemSetCost - Set Purchase Item Slot —
void
— PurchaseItemSetSlot - Set Purchase Item Icon —
void
— PurchaseItemSetIconFilePath - Set Purchase Item Movie —
void
— PurchaseItemSetMovieFilePath - Set Purchase Item Players —
void
— PurchaseItemSetPlayerGroup - Set Purchase Item State —
void
— PurchaseItemSetState - Set Purchase Item Recently Purchased —
void
— PurchaseItemSetRecentlyPurchased
# Examples
campaigns/libertystory.sc2campaign — base.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) {