How do I get the spec info from the talent tree
Hi all,
I use this thread because I have a problem "talents related" :-) and so I try to ask here for some help. I am trying to figure how to have the spec informations from the talent tree... I like to find something like this: 2,1,3,1,1,3,2 I have read on my book and googling a lot but it seems to me that a lot of functions are not yet documented and not related to find something like it. I can find everything of the talent selected but what I am not able to get is its position in the tier row. code like: Lua Code:
give me back a lot but not what I am looking for :-) Thanks for any suggestions/tips/hints :-) |
for gmarco
Code:
local specid = GetActiveSpecGroup() |
Hi Mazzop,
this is exactly what I need ... :-) Thanks !!! |
I have adapted the code in this way:
Lua Code:
Now I'd like ask another thing ... Is possible to rewrite these 2 lines in a more lua style to have the array populated by the GetSpecializationInfo(primarySpec) directly ? Lua Code:
Thanks. |
Not by name, as they have no reference to anything like that, but you can do this:
Code:
PRISPEC = {GetSpecializationInfo(primarySpec)} |
All times are GMT -6. The time now is 05:37 PM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI