In the past, it was possible to write text on the world map. I used this to provide zone level information (back in the days before Blizzard added this info). However, that information is once again gone in Classic, so I'd like to resurrect this feature. Unfortunately, I can't seem to find how to do it with the current API. Does anyone have any pointers on how this can be done?
Thanks, I'm familiar with it, but it gives me the itemID rather than the SpellID. This can work for me since I have an internal table which has both the itemID and spellID, so I can get the spellID from that table, but I was hoping for a method to always get the spellID so it's valid for items not in my table too.
In the past, it was possible to iterate through GetNumTradeSkills(), in something like the following:
for i = 1, GetNumTradeSkills() do
local recipe, hdr = GetTradeSkillInfo(i)
if (recipe and hdr ~= "header") then
local itemLink = GetTradeSkillRecipeLink(i)
local ID_Spell = itemLink:match("enchant:(%d+)")
However GetTradeSkillLink() does not exist in WoW Classic UI, and I'm not having any luck so far being able to get the ID_Spell via other methods. Anyone know the way to do this via the Classic API? The new Tradeskill UI stuff doesn't appear to exist in the Classic.