Fandom

WoWWiki

API GetCraftSkillLine

104,634pages on
this wiki
Add New Page
Talk6 Share

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.

WoW API < GetCraftSkillLine

This command tells the caller which, if any, crafting window is currently open.

currentCraftingWindow = GetCraftSkillLine(n)

Arguments Edit

Numeric - Not sure how this is used, but any number greater than zero seems to behave identically. Passing zero always results in a nil return value.

Returns Edit

currentCraftingWindow 
String - The name of the currently opened crafting window, or nil if no crafting window is open. This will be one of "Enchanting" or "Beast Training".

Details Edit

This function is not quite the same as GetCraftDisplaySkillLine(). The latter returns nil in case the Beast Training window is open, while the current function returns "Beast Training".


Also on Fandom

Random Wiki