Originally Posted by Keesi
My question is how can I either detect when the InformationTooltip has closed (is there an event I'm missing)
|
You can hook
ZO_Tooltip_OnCleared(tooltipControl) function to clear your modifications to the tooltip.
Originally Posted by Keesi
...or is there some way that I can have it only work for my set of pins?
|
This will not be necessary - tooltip control is not destroyed when hidden, it is just cleared. So you really need to clear your modification by hooking the function above.
Lua Code:
local pinType = pin.m_PinType
local pinType = pin:GetPinType()
local pinType, pinTag = pin:GetPinTypeAndTag()
--use just one from above
if pinType == _G["myCustomPin"] then
--code
end