EQ2Interface.com
Search Downloads


Go Back   EQ2Interface > Developer Discussion > XML Modification Help & Info

Reply
Thread Tools Search this Thread Display Modes
  #1  
Unread 01-13-2009, 12:11 AM
samejima samejima is offline
A Griffon
Interface Author - Click to view interfaces
 
Join Date: Jul 2005
Server: Unrest
Posts: 156
Default ToolTips

It's not possible to place dynamic data into a tool tip is that correct?
Reply With Quote
  #2  
Unread 01-13-2009, 02:42 AM
SOE-Rothgar SOE-Rothgar is offline
A Griffon
Yes this person is from Daybreak!
 
Join Date: Aug 2007
Server: Unrest
Posts: 208
Default

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.
Reply With Quote
  #3  
Unread 01-13-2009, 03:41 AM
gm9 gm9 is offline
gm10-1
Premium Member
EQ2Interface Super Mod
Featured
 
Join Date: Feb 2006
Posts: 6,479
Default

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.
__________________
P R O F I T U I ∙ R E B O R N [Auto-Updater] | [Portal] | [F.A.Q.] | [Support Forums]
~ Retired ~
If it does not work, you likely installed it incorrectly. Always try a clean install before reporting bugs.
Reply With Quote
  #4  
Unread 01-13-2009, 03:55 PM
samejima samejima is offline
A Griffon
Interface Author - Click to view interfaces
 
Join Date: Jul 2005
Server: Unrest
Posts: 156
Default

Quote:
Originally Posted by gm9 View Post
[*]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.
Reply With Quote
  #5  
Unread 01-13-2009, 04:14 PM
SOE-Rothgar SOE-Rothgar is offline
A Griffon
Yes this person is from Daybreak!
 
Join Date: Aug 2007
Server: Unrest
Posts: 208
Default

Sorry I completely misunderstood the question. I was thinking item examine info tooltips.
Reply With Quote
Reply



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
Forum Jump


All times are GMT -5. The time now is 03:24 PM.


Our Network
EQInterface | EQ2Interface | WoWInterface | LoTROInterface | ESOUI | MMOUI