View Single Post
  #14  
Unread 12-09-2004, 03:02 PM
insomniac's Avatar
insomniac insomniac is offline
A Griffon
Interface Author - Click to view interfaces
 
Join Date: Jul 2004
Server: Blackburrow
Posts: 555
Default

Quote:
Originally Posted by Uziekiele
You'd never had 58% yellow and 98% blue. Since the scope of these two bars slightly overlaps, the last digit of the yellow and the first digit of the blue will ALWAYS be the same, right?

Y: 12% B: 25%
Y: 99% B: 92%
etc

One easy way to look at it is just ignore the first digit of blue and use the second digit as you tenths place. I don't think you can do this kind of math with an XML document, but to combine the two mathematically, I think you can do:

Yellow_value + ((Blue_value mod 10) / 10)
Right. or like i posted earlier:

Y:-12
B:--24
---12.4
The 2 red digits will always match.
__________________
Shizlak Xml - Templar/Provisioner
Blackburrow
Join Chat! irc: #EQ2Interface (dalnet) Ingame: /join eq.serverwide.eq2ui


Reply With Quote