View Single Post
12/21/17, 10:36 AM   #3
Baertram
Super Moderator
 
Baertram's Avatar
WoWInterface Super Mod
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 4,989
It's even easier (assuming you use the improvement station to improve an item, not sure if it would be possible without or just opening the crafting station but NOT selecting the improvement tab) to check if the imporvement tab is shown.

Use the event_craft_complete to register your callback function and then check if the improvement's inventory control is not hidden:

Lua Code:
  1. if not ZO_SmithingTopLevelImprovementPanelInventory:IsHidden() then
  2. --Improvement
  3. end
  Reply With Quote