Skip to content
everloot

Lore archive · Warcraft Wiki, 2023 dump

API GetTradeSkillSelectionIndex

Last wiki revision 2022-07-22

Returns the index of the currently selected trade skill. local tradeSkillIndex = GetTradeSkillSelectionIndex

  • tradeSkillIndex: - The index of the currently selected trade skill, or 0 if none selected.

if ( GetTradeSkillSelectionIndex > 1 ) then TradeSkillFrame_SetSelection(GetTradeSkillSelectionIndex); else if ( GetNumTradeSkills > 0 ) then TradeSkillFrame_SetSelection(GetFirstTradeSkill); end; end;

Source

https://warcraft.wiki.gg/wiki/API_GetTradeSkillSelectionIndex · 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.