Home Forum Downloads My Favorites Register FAQ

Go Back   EQInterface Forums > Developer Discussion > General authoring help / discussion
User Name
Password

Reply
 
Thread Tools Display Modes
Old 08-13-2002, 02:31 PM   #1
Lacer
A Ghoul
 
Join Date: Aug 2002
Posts: 10
Default If Then possiblity in XML?

can i put if then statements or equivalent in the code... say to make the health bar change colors when it is below a certain amount, if not... any way to insert an animation such as white flashing background behind last 50% of health?
Lacer is offline   Reply With Quote
Old 08-13-2002, 05:14 PM   #2
ForinIronshield
Premium Member
 
Join Date: Aug 2002
Server: Tunare
Posts: 25
Interface Author - Click to view interfaces
Send a message via AIM to ForinIronshield Send a message via Yahoo to ForinIronshield
Default

In a word, no. Or rather, only if the people at SOE/VI who are writing the GUI engine give you that capability.

XML is an interface language - it lets you describe things in detail in such a way that other software can recognize data structures and read the data. Its not a full fledged programming language. In this case, the XML is providing detailed instructions to the GUI on window location and content.
__________________
Forin Ironshield
Paladin of Underfoot
Aegis Wolves
Master Smith, Master Fletcher
Animals die, friends die and I shall die, but one thing never dies....
and that is the reputation we leave behind at our deaths.
ForinIronshield is offline   Reply With Quote
Old 08-14-2002, 02:56 AM   #3
guice
Keeper of the Hampster
 
guice's Avatar
 
Join Date: Jul 2002
Server: Mithaniel Marr
Posts: 598
Interface Author - Click to view interfaces
Send a message via AIM to guice Send a message via Yahoo to guice
Default

As stated, a but. XML is a Display Language

All is does is Display Data. Nothing else. It can't see what's what or why what's that is that.

It's used merly to explain what the data is. It's like a fancy INI file, nothing more.

XML is used more these days cause it's easier to parse and you can really do some complicated data structures with it, and there was constraints for it.

IE, in INI you can = or = "" or = '', but in proper XML, you can <></> or < />, nothing else.

It's rather nice, and it's good to have a set of rules govering data files now.


But, that's all. Once an XML file is created, it's up to the reading application to take the data and use it's named tags and values for a purpose.

All the logic is handled in the application. XML just gives you the data (in plain text).
__________________
Sithr, 65th Transcendent
Officer/Leader of Chronology
Mithaniel Marr
http://www.chronology-guild.org/
guice is offline   Reply With Quote
Old 08-14-2002, 03:05 AM   #4
Lacer
A Ghoul
 
Join Date: Aug 2002
Posts: 10
Default thats what i thought

aye thats what i thought but i wasnt sure if there was any room for internal interpretations... thank you *)
Lacer is offline   Reply With Quote
Reply




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


All times are GMT -5. The time now is 07:47 AM.


vBulletin Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
© MMOUI