EQ2Interface.com
Search Downloads


Go Back   EQ2Interface > Developer Discussion > UI Developer Discussion

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #4  
Unread 03-29-2011, 01:29 PM
Drumstix42's Avatar
Drumstix42 Drumstix42 is offline
A Griffon
Featured
 
Join Date: Oct 2004
Server: Antonia Bayle
Posts: 3,287
Default

You could set up a data page with the names of each stat and just have a Width property assigned to each stat, ie:

Code:
|- WidthPage
  |- Health (Width = 150)
  |- Power (Width = 150)
  |- CritChance (Width = 40)
Then setup window elements to be saved and assign their height (or something) to be the number of the location of the element (the order). You do this by locking that window and then setting a property, and then unlocking it.

Have another page where you have a numbered list

Code:
|- OrderPage
  |- Stat1
  |- Stat2
  |- Stat3
  ...
When you initiate the code, you would load the pages and OnShow for each window that got saved it would read the Height value, and fill into the appropriate OrderPage element. Then you would load each element (going in order 1, 2, 3, etc, and use the values from datapage with the Widths to fill in the actual stat bar.

I thought about doing this for a while, but decided it's just too much code for a little bit of customization that doesn't truly affect how you play the game I wanted to wait for LUA to make it more realistic and uncluttered code. Plus each time you would want to reorder one stat, it would have to recall all the code, and it seems like such a clusterf*ck to do.
__________________
"I'm afraid you're guilty of thought-crime. Don't bother getting the door, we'll let ourselves in..."
<Donate to DrumsUI> < [DrumsUI] Updater > < [DrumsUI] Full Interface> < Drumstix42 on Twitch.tv
>

Last edited by Drumstix42 : 03-29-2011 at 01:32 PM.
Reply With Quote
 



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 11:30 PM.


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