EQ2Interface.com
Search Downloads


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

Reply
Thread Tools Search this Thread Display Modes
  #1  
Unread 03-27-2005, 11:47 AM
Kosmos's Avatar
Kosmos Kosmos is offline
A Griffon
Interface Author - Click to view interfaces
 
Join Date: Dec 2004
Server: Lucan DLere
Posts: 581
Default Food for thought...

So I'm a bit busy lately, and have not been able to investigate this, but I thought I would put it out there for a few of the big brains here.

So far as I know we have not been able to use any sort of 'if' statement.

A couple of things I would like to suggest, that may be worthless, or may turn into something.

It seems like we might be able to do some basic boolean logic type functions that could be used as 'if' type branches.
We are able to invert boolean values, and if I understand we can do some math functions. So that is basically all we need for some basic logic gate type functions.

We may even have these functions available to us already if no one has tried
Boolean Operators on the Boolean some of the boolean values we work with in the mods.
AND, OR XOR, NOT, and TEST

This is a good site for the various operators syntax for different languages.
http://home.att.net/~gobruen/con/boole.html

There was a post in here somehwere, I've missplaced it, where a guy had examed the Macros file I think And it had a couple of macros that had the syntax !$ in it.. Which is in the 'In Abel' section at the bottom of that page.
Just poped out as looking familiar.
I know alot of variations have been tried,already, I just though I would post this for ideas.

But even without the And statements.
We could easly compare say.. two checkboxes, using Simple Multiplication and Boolean logic.

I really wish I had more time to devote to testing messing around with this stuff.

EDIT: Also.. as far as referencing variables within an event.
In the templates, the $value$ is always used for strings. So the XML can create the list or table from the data source. Is it possible that there is a sign to indicate that 'this' part of the script is a Float or integer? I'm assuming the $string$ is telling XML that that data is a string...
Again, I know there's been extensive testing of other similar ideas, I just wanted to try and stir the pot here. Perhaps there is new information out there I am unaware of.
__________________
Kosmos
Qeynos Ranger (Retired)
Lucan D'Lere

Last edited by Kosmos : 03-27-2005 at 11:51 AM.
Reply With Quote
  #2  
Unread 03-27-2005, 02:21 PM
Drumstix42's Avatar
Drumstix42 Drumstix42 is offline
A Griffon
Featured
 
Join Date: Oct 2004
Server: Antonia Bayle
Posts: 3,287
Default

Well I posted this once but I dunno if anyone ever read it:

Quote:
Originally Posted by Drumstix42
I haven't read through all of this thread but it just came to my attention this post... I was just thinking... heh (amazing I know)

There's another way to do IF statements in coding. Maybe there's some variation that'll work with the EQ2 XML...

Code:
OnPress="parent.Test.visible==true?visible=false:visible:true"
I don't have anything to test it out... but maybe someone could try it.

Or maybe:

Code:
OnPress="(parent.Test.visible==true)?(visible=false):(visible:true)"
(I don't really have a grasp on where to use parenthasis in the EQ2 XML coding) *note* I dunno what's up with the random spaces, they're just showing that way /shrug
The basic layout is:

IF?THEN:ELSE
__________________
"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
  #3  
Unread 03-27-2005, 02:30 PM
Kosmos's Avatar
Kosmos Kosmos is offline
A Griffon
Interface Author - Click to view interfaces
 
Join Date: Dec 2004
Server: Lucan DLere
Posts: 581
Default

Quote:
Originally Posted by Drumstix42
Well I posted this once but I dunno if anyone ever read it:



The basic layout is:

IF?THEN:ELSE

Yes, in fact I did read that, and it was on the top of my list of things to try when I get a day to sit down and mess with this. I just have not had time, I saw that no one had replied to that, it seemed like a good place to start to me. Thanks
__________________
Kosmos
Qeynos Ranger (Retired)
Lucan D'Lere
Reply With Quote
  #4  
Unread 03-27-2005, 08:50 PM
Drumstix42's Avatar
Drumstix42 Drumstix42 is offline
A Griffon
Featured
 
Join Date: Oct 2004
Server: Antonia Bayle
Posts: 3,287
Default

Some DEV reply on this would be super.
__________________
"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
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
Forum Jump


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


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