LoTROInterface

LoTROInterface (https://www.lotrointerface.com/forums/index.php)
-   Lua Programming Help (L) (https://www.lotrointerface.com/forums/forumdisplay.php?f=50)
-   -   Quickslot SkillInfo (https://www.lotrointerface.com/forums/showthread.php?t=3705)

souru 07-31-2018 04:19 PM

Quickslot SkillInfo
 
Hi
so the idea is that i have a quickslot, if i then dragged a skill into it i want the name of the skill and the shotcut data. the data is easy but i dont know how i can get the name or the skill itself?

Code:


qsAddButton.MouseClick = function()      -- function to add skill from quickslot

        if qs:GetShortcut():GetType() == Turbine.UI.Lotro.ShortcutType.Skill then

                local data  = qs:GetShortcut():GetData(); -- Data
                local name =                            -- Name / Skill
               
        end       
       
end



Souru

Thurallor 08-07-2018 11:23 AM

You can't, not from the Lua API. But you could use a lookup table compiled by moebius92. Any skills that have been added since 2015 (e.g. travel skills) would have to be manually added to it.

souru 08-07-2018 11:36 PM

thank you that will have to do it then


All times are GMT -5. The time now is 01:51 PM.

vBulletin® - Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
© MMOUI