Hi, guys.
I have a question and hope you can help me.
I want to add additional item to context menu at chat (when you r-click on player name). I found ingame function to do that, but menu is re-created each time player name is clicked.
Lua Code:
AddMenuItem(mytext, myfunction, itemType, myfont, normalColor, highlightColor, itemYPad)
I tried to capture event "OnLinkClicked" for all possible chat windows (stored at "ZO_ChatWindow.container.windows"), but there's a problem. ZO_ChatWindow.container is empty untill someone writes sth to chat, so containers inside can't be hooked before that.
I's stuck. Only some hacky-business is on my mind. So, any ideas how to add own item to ingame menu?