API unitTag explain
Hello I'm trying to create a simple addon that will show the player on-going buffs.
I found this api function: GetUnitBuffInfo(string unitTag, luaindex buffIndex) And I wanted to ask if someone can explain what unitTag is supposed to be? And more importantly how can I call the "player" object as a unitTag. Thanks in advance! |
unitTag is a string:
"player" -you "reticleover" -your target "reticleovertarget" - target of your target "group1" ... "group4" -other group members However they recently changed the API so GetUnitBuffInfo will only work on "player" |
Thanks for the explanation, and for the several "bagId" that I see is there a default like bag0 that is referencing the player default bag?
|
"group1 .. group24" for larger groups.
|
Quote:
bagId: 1 is your actual bag |
All times are GMT -6. The time now is 08:14 PM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2014 - 2022 MMOUI