Weird Behavior - ZO_LinkHandler_OnLinkMouseUp
I'm trying to make guild links clickable in my addon. Generating a guild link is pretty easy.
Getting a guildId is easy, simply generate one in game and then copy/paste it into a text editor.
Then automating a link click is pretty easy
So you put it all together and the strangest thing happens.
This will work if you're ALREADY IN THE GUILD, but it will not work if you don't belong to the guild. Which is the exact opposite behavior than you'd want for a guild link. I really can't figure this one out. Any ideas? |
Seems that GetGuildRecruitmentLink will only work for your joined guilds, right. Have tested this too.
I have not found anything that will provide you links of others guilds, but I doubt it exists as API. You can just use something like a pattern and create the links yourself: Lua Code:
But GetGuildName does not show me the guild names allthough the id exists, and I can even see the ID within the guild search... Using /tb GetGuildName(132553) ingame returns an empty string (using merTorchbug). Something is weird indeed. |
I have yet to see any guild functions work on guilds you are not a member of.
If you made a for loop with these two functions fine. GetNumGuilds() GetGuildId(guildIndex) However, these (and others) would only work with the guilds you are a member of. GetNumGuildMembers(guildId) GetGuildInfo(guildId) GetGuildName(guildId) |
All times are GMT -6. The time now is 01:07 AM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2014 - 2022 MMOUI