Lore archive · Warcraft Wiki, 2023 dump
API GetCraftSkillLine
Last wiki revision 2022-08-01
This command tells the caller which, if any, crafting window is currently open.
currentCraftingWindow = GetCraftSkillLine(n)
- n: - Not sure how this is used, but any number greater than zero seems to behave identically. Passing zero always results in a return value.
- currentCraftingWindow: - The name of the currently opened crafting window, or if no crafting window is open. This will be one of "Enchanting" or "Beast Training".
This function is not quite the same as GetCraftDisplaySkillLine. The latter returns in case the Beast Training window is open, while the current function returns "Beast Training".
Source
https://warcraft.wiki.gg/wiki/API_GetCraftSkillLine · retrieved 2023-11-13 · CC BY-SA 4.0
Converted from wikitext with templates, tables and images removed, so some sentences may be missing values.
This archive predates WoW: Forever. For collected gameplay facts see the Forever database. Search the archive.