ESOUI

ESOUI (https://www.esoui.com/forums/index.php)
-   Wish List (https://www.esoui.com/forums/forumdisplay.php?f=177)
-   -   [implemented] Addition To Group Member joined Event (https://www.esoui.com/forums/showthread.php?t=7978)

Drummerx04 08/12/18 12:42 AM

[implemented] Addition To Group Member joined Event
 
The current EVENT data is as follows
Lua Code:
  1. EVENT_GROUP_MEMBER_JOINED (number eventCode, string characterName)

I think it would be helpful to add the displayName to the EVENT

Lua Code:
  1. EVENT_GROUP_MEMBER_JOINED (number eventCode, string characterName, string displayName)

It would be useful information for groups with members that swap toons between raids, and saves authors the trouble of looping through the party to figure out who just showed up.

sirinsidiator 08/12/18 09:35 AM

That would make a lot of sense, especially since the EVENT_GROUP_MEMBER_LEFT already got the memberDisplayName added a while ago.

In the meantime you can use EVENT_UNIT_CREATED and ZO_Group_IsGroupUnitTag like they do in zo_grouplist_manager. Instead of filtering it in Lua you could also use an event filter REGISTER_FILTER_UNIT_TAG_PREFIX with value "group".

Drummerx04 08/13/18 03:53 PM

Quote:

Originally Posted by sirinsidiator (Post 35573)
That would make a lot of sense, especially since the EVENT_GROUP_MEMBER_LEFT already got the memberDisplayName added a while ago.

In the meantime you can use EVENT_UNIT_CREATED and ZO_Group_IsGroupUnitTag like they do in zo_grouplist_manager. Instead of filtering it in Lua you could also use an event filter REGISTER_FILTER_UNIT_TAG_PREFIX with value "group".

Yeah, currently I sort of just loop through the group when a member is added and figure out who is new. I'm liking the way your workaround sounds, as it seems I can be directly passed the NEW group unitTag which is arguably better than what I requested.

Thanks man.


All times are GMT -6. The time now is 09:00 AM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2014 - 2022 MMOUI