EQ2Interface

EQ2Interface (https://www.eq2interface.com/forums/index.php)
-   UI Developer Discussion (https://www.eq2interface.com/forums/forumdisplay.php?f=3)
-   -   Hiding Text unless it displays Meaningful Info (https://www.eq2interface.com/forums/showthread.php?t=684)

Humudce 12-17-2004 07:54 PM

Hiding Text unless it displays Meaningful Info
 
Is there any way to hide text within a UI if the informaiton is not useful. I.E. on my UI's currently, since the Devs have changed the way Death Debt % is displayed on the Test Server.

The Old Way it was displayed was let's say you were 55% into your level and if you looked and had Death Debt it displayed as 58%. You were actually 3% into Debt. I made a UI piece that displays the XP and Debt as a Percentage. On the Live Server if you had no Death Debt it displayed as 0%, which was fine as far as I was concerned, and everyone else using my UI Mod. But now on test if you have 0% Death Debt with the example above with 55% into Level it appears on the UI as -55% Debt, aka 0% Debt. But again in the above example you have 3% Death Debt it now appears as 3% and not 58%. I applaud Sony for fixing that, but it now breaks my UI. Is there any way in the XML for that window for me to hide the Death Debt unless it's a Positive Number?

NetSapiens 12-18-2004 06:52 AM

Normally you'd use XSLT to do math on the value.. BUT.. since the value is not there but substituted into the gui from an EQ variable, I don't see how you could make your data "case sensitive".

Others might have an idea, but I am going with "not possible" as much as I hate that phrase


All times are GMT -5. The time now is 08:48 AM.

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