View Single Post
09/22/20, 04:35 PM   #4
Baertram
Super Moderator
 
Baertram's Avatar
WoWInterface Super Mod
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 4,979
Wouldn't this just be MAP_PIN_TYPE_PLAYER, MAP_PIN_TYPE_GROUP_LEADER or MAP_PIN_TYPE_GROUP again?

Or what unitTag do you need, and whatfor do you need it?
The unittag for your (the player) is always "player". And the unitTags of the group members will be always the prefix "group" with the suffix n (number 1 to n, where n = GetGroupSize()).
The group leader's tag can be read via GetGroupLeaderUnitTag()

Last edited by Baertram : 09/22/20 at 04:41 PM.
  Reply With Quote