# Set Purchase Item Tooltip

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

Sets the tooltip for the specified purchase item.

# Arguments

  • int [ preset::PurchaseItem ] — Purchase Item
  • text — ToolTip

Returns — void

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

Category: Story / Tech Purchase Panel / Purchase Items

# Examples

# campaigns/libertystory.sc2campaign

CampaignLib.galaxy

// L7749
PurchaseItemSetTooltipText(libCamp_gv_tS_Tech_UI[lv_techIndex], lv_tooltip)