WoWInterface - View Single Post - Flashy name for nearby guild mates
View Single Post
05-01-21, 08:30 PM   #6
nUI Maintainer
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,638
You need to use GetGuildInfo to get the guild name of a unit such as the player.


All IsInGuild does is return whether someone is in a guild and doesn't take any parameters.

Unfortunately, needing a unit name to execute means this will have to be someone you are looking at specifically "mouseover", "target" or in a group/raid with "raid2", "party2" etc.

So, the next option to consider is looking at how nameplate addons *scan* the nameplate and extract the information. If one of them is the guild name you can then do your guild check once you have identified which guild the nameplate is showing.

Unfortunately I haven't played with nameplates at all to know what is and isn't possible from that point of access.

Last edited by Xrystal : 05-01-21 at 08:35 PM.
  Reply With Quote