#Get Dragonflight Talents
21 messages · Page 1 of 1 (latest)
the talent api is pretty complicated, usually checking IsPlayerSpell is much easier than doing it via the talent api
yea i wanna check a talent from someone else tho
print(node.ranksPurchased)```
like this would work for me now but how could i change it to look if another unit has that skilled or not
that's even more complex. You'd need to inspect via the api first
and that's async, so it's complicated
can't i just InspectUnit(unit) ?
That's async, and shared
Yea I just tried doing it with inspect but it just takes the values from the last inspect I tried it with a while not inspect:isvisible but it still doesn't really work how could I get a workaround for that?
You share the inspect with other add-ons and also need to wait for the inspect event coming back
Did you try to do a infinite loop to wait?
The whole wow interface is a single thread.
i guess i am just to dumb i tried multiple things for waiting till the frame is shown but somehow doesn't work
like this just makes the wekaura cancel cause "it runs too long"
this also makes it lag out