EQ2Interface

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

Jamesc146 01-16-2010 02:03 PM

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 :D

lordebon 01-16-2010 02:22 PM

Quote:

Originally Posted by Jamesc146 (Post 87772)
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).

Jamesc146 01-16-2010 02:37 PM

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?


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

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