GetCraftReagentItemLink

From Warcraft Wiki
Jump to navigation Jump to search
Flavors
Links
Info
Added in 1.0.0 / 1.13.2

This command returns a required reagent (as an itemLink) for a specific craftable item from the currently visible tradeskill window.

reagentLink = GetCraftReagentItemLink(index, n)

Arguments

index
number - index of the requested craft recipe, where 1 is the top-most listed recipe.
n
number - index of the Nth reagent for the recipe, where 1 is the first reagent.

Returns

reagentLink
string - itemLink for the requested reagent.

Details

  • If you specify an invalid index, nil is returned.
  • If there is no visible tradeskill window, nil is returned.

Patch changes

Wrath-Logo-Small.png Patch 3.0.2 (2008-10-14): Removed.