EQ2Interface.com
Search Downloads


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

Reply
Thread Tools Search this Thread Display Modes
  #1  
Unread 01-16-2010, 02:03 PM
Jamesc146's Avatar
Jamesc146 Jamesc146 is offline
A Griffon
 
Join Date: Nov 2008
Server: Butcherblock
Posts: 101
Default presets per character

I was curious if it is possible load a different set of preset buttons on profit ui broker window with each character?

I figured out how to edit the preset buttons in _ProfitUI_SetPricePresets

I see where the <include> command directing to this is here: eq2ui_popup_setprice

and I thought I could possibly rename the _ProfitUI_SetPricePresets to _ProfitUI_SetPricePresets_Toonname and have one for each of my toons.

I would then have to set the <include> command to reflect that toonname

Here is where the question comes in...

How do I get the <include> command to recognize what toon I'm logged into and get to the appropriate _ProfitUI_SetPricePresets_toonname? Or am I way off base and need to do something completely different?

I'm sure it has to do with that <include> command somehow but this is as far as I have been able to get with my pantented let me try this... /logs into game... nope that didn't work... /logs out of game... programming knowledge

Thanks for the help and sorry for being such a noob. At least I'm trying
Reply With Quote
  #2  
Unread 01-16-2010, 02:22 PM
lordebon lordebon is offline
Fetish Core author
This person is a EQ2Map developer.
Featured
 
Join Date: Jun 2005
Server: Crushbone
Posts: 2,667
Default

Quote:
Originally Posted by Jamesc146 View Post
How do I get the <include> command to recognize what toon I'm logged into
To my knowledge, there is no way of varying what included UI files get loaded depending on the character.

However, what it might be possible to do would be to rewrite the preset to load multiple files and then use in-game scripting to swap between presets. (EG have another dropdown box to change the active preset).
__________________
Reply With Quote
  #3  
Unread 01-16-2010, 02:37 PM
Jamesc146's Avatar
Jamesc146 Jamesc146 is offline
A Griffon
 
Join Date: Nov 2008
Server: Butcherblock
Posts: 101
Default

Ok I understand what you mean but have ZERO clue how to do it. Any chance I could get a little help with it? I can make the preset windows per toon that is easy enough I can handle it but how do I add a dropdown box to my presets page?

Last edited by Jamesc146 : 01-16-2010 at 02:50 PM.
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 09:52 AM.


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