EQ2Interface

EQ2Interface (https://www.eq2interface.com/forums/index.php)
-   XML Modification Help & Info (https://www.eq2interface.com/forums/forumdisplay.php?f=22)
-   -   ToolTips (https://www.eq2interface.com/forums/showthread.php?t=12234)

samejima 01-13-2009 12:11 AM

ToolTips
 
It's not possible to place dynamic data into a tool tip is that correct?

SOE-Rothgar 01-13-2009 02:42 AM

The tooltip window is in eq2ui_examine.xml and if you look at it in UIBuilder you'll see that it contains some generic templates that are used by the code to build the window dynamically. Depending on what you wanted to add, you might be able to make it work with scripting and OnShow.

gm9 01-13-2009 03:41 AM

I'm not entirely sure what the question is aimed at so I'll throw some things out and hope one of them is what you are looking for:
  • Most dynamic data comes with tooltip data
  • To put not the tooltip but another property of the dynamic data, e.g. the text property, into a tooltip or to combine different dynamic data into one tooltip you need to use scripting (and to filter the dynamic data's tooltip). It usually makes sense to use OnHoverIn for that, but if you need a tooltip that updates while you hover over it you can use OnChange/OnTextChanged.
  • If you need to do any layout beyond mere lines of text you'll need to edit the templates. However, unlike Rothgar mentioned I would not recommend to edit eq2ui_examine.xml since that will affect a whole range of tooltips in game at the same time (unless that is what you want), instead add a tooltip style and apply that to the object you want to have the reskinned tooltip.

samejima 01-13-2009 03:55 PM

Quote:

Originally Posted by gm9 (Post 79725)
[*]To put not the tooltip but another property of the dynamic data, e.g. the text property, into a tooltip or to combine different dynamic data into one tooltip you need to use scripting (and to filter the dynamic data's tooltip). It usually makes sense to use OnHoverIn for that, but if you need a tooltip that updates while you hover over it you can use OnChange/OnTextChanged.

Thats exactly what I wanted to do.

SOE-Rothgar 01-13-2009 04:14 PM

Sorry I completely misunderstood the question. :) I was thinking item examine info tooltips.


All times are GMT -5. The time now is 01:12 PM.

vBulletin® - Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
© MMOUI