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