Join The Fan Lab, a private Fandom research community for users in the US and UK where you will be asked to share your opinions on all things gaming and entertainment! Click here to see if you qualify

GetCraftReagentItemLink

From Wowpedia
Jump to: navigation, search

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 
Numeric - index of the requested craft recipe, where 1 is the top-most listed recipe.
Numeric - 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