event code not returned
Hello,
i think i found a bug with an event not returning its "eventCode", as it should according to: https://wiki.esoui.com/API. If I am mistaken, feel free to just close or delete this thread. Its about the Event: EVENT_GROUP_MEMBER_JOINT Here my code: Lua Code:
And here the debug result in chat: Code:
DebugGroupJointEvent |
Code:
function foo:DebugGroupJoinedEvent(event, name, displayName, isPlayerLocal) Code:
function foo.DebugGroupJoinedEvent(self, event, name, displayName, isPlayerLocal) the name will be stored in the variable event, the display name will be stored in the variable name etc. That's also why your debug output prints "event: Exoy^Mx". you want to use Code:
function foo.DebugGroupJoinedEvent(event, name, displayName, isPlayerLocal) |
Thanks for the quick reply.
And what an embarrassing mistake on my side. Just started to use objects in that form and completely forgot about it. |
All times are GMT -6. The time now is 12:31 PM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2014 - 2022 MMOUI