Thread Tools Display Modes
Prev Previous Post   Next Post Next
09/13/21, 05:34 PM   #1
dorrino
AddOn Author - Click to view addons
Join Date: Mar 2015
Posts: 50
ZO_LinkHandler_CreateLinkWithFormat and zo_iconformat

I'm trying to attach a character link an icon in a text string. So on rightclicking the icon i'll get a specific character context menu.

And the problem is that if i feed zo_iconformat to ZO_LinkHandler_CreateLinkWithFormat then the icon is not parsed but instead is treated as a string of characters.

Does anybody know of a workaround?



Essentially ZO_LinkHandler_CreateLinkWithFormat produces a string like:

"|HLINK_STYLE_DEFAULT:character:Charname^Mx|hTEXT|h"

and i feed zo_iconformat instead of TEXT, so the result looks like:

"|HLINK_STYLE_DEFAULT:character:Charname^Mx|h|t64:64:mypath\myicon.dds|t|h"

And |t64:64:mypath\myicon.dds|t is treated as a literal string of symbols instead of the icon.
  Reply With Quote
 

ESOUI » AddOns » AddOn Help/Support » ZO_LinkHandler_CreateLinkWithFormat and zo_iconformat


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off