How can I get the research slots in use?
Hi,
I'm trying to get the number of free research slots. To do that, I'm using the following code: Code:
local currentSimultaneousResearches = 0 Regards and thanks in advance. :) |
Here's a working function from my AwesomeInfo addon that should help you.
Code:
numberOfEmptySlots, RemainingTime = AI.GetResearchTimer(CRAFTING_TYPE_BLACKSMITHING) |
Yeah, you want the GetSmithingResearchLineTraitTimes() which returns non nil when it's being researched.
|
Thank you very much for the answer. It helped me alot. ;)
|
All times are GMT -6. The time now is 03:06 PM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2014 - 2022 MMOUI