View Single Post
  #2  
Unread 12-07-2009, 02:44 PM
Drumstix42's Avatar
Drumstix42 Drumstix42 is offline
A Griffon
Featured
 
Join Date: Oct 2004
Server: Antonia Bayle
Posts: 3,287
Default

So in the XML UIsettings file, you get lines like this:

Code:
<Window Name="StatBar_AAXP" alignment="4" alignment_offset="98324,99002" locked="true" size="1,2" />
And if you're interested how I made my execution script loop only so many times, it was fairly easy.

- Text element, set to visible.
- DynamicData="/GameData.General.Time" (this is norrath time, EarthTime is the local time just FYI)
- have a value called "changed" set to "0"

Code:
OnTextChanged="do initialization code
changed=changed + 1
COND=(changed < 35)
Visible=COND"
Code:
OnHide="OnTextChanged=' '"
So after it gets executed 35 times, it'll hide itself and then changes the OnTextChanged to do nothing.

Hope this helps out anyone interested about having custom options and such
Hopefully the devs will just allow some more UI customization soon and this method will be outdated and an easier on will come forth.
__________________
"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
>
Reply With Quote