EQ2Interface.com
Search Downloads


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

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Unread 07-15-2006, 03:26 AM
robear0001 robear0001 is offline
A Young Mystail Rat
 
Join Date: Apr 2006
Server: Antonia Bayle
Posts: 2
Default Images Affected by DynamicData

I am going to admit right away that though I have been programming for years and I have been following this site since I started playing EQ2. I have modified some UI's but have hit a brick wall.

Here is my wall. I know how to display the gamedata.self.experienceyadayada as text. I also know how to make an image display and to set which rect area of my image is displayed in the image window. I know you can scroll it, but have not figured out how to scroll the main image file through the rect

Is there a way to alter an images SourceRect based on the value of the dynamicdata. I hate being a noob... kind of like-

dd=dynamicdata

if dd<10 then sourcerect="0,0,20,30"
if dd<20 && dd>10 then sourcerect="20,0,40,30"

etc...

I know this isn't xml conditions, thats my problem, how would you code that to adjust the images position based on one of the dynamic data variables

Thanks in advance

Robear
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 03:42 PM.


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