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.
|