Difference between revisions of "Operator Element"

940 bytes added ,  03:03, 19 December 2009
imported>JRoush
imported>JRoush
Line 54: Line 54:


== Boolean Operators ==
== Boolean Operators ==
*Onlyif
These operators use "&true;" (2) as the numerical value of "true", and all other values to be "false".
*Onlyifnot
*'''Onlyif''' - The new property value is the current property value if the contents of <onlyif> evaluate to &true;, and zero if the contents evaluate to &false;.
*Lt
*'''Onlyifnot''' - Similar to <onlyif>, but with the opposite pairing.
*Gt
*'''Lt''' - The new property value is &true; if the current value is less than the contents of <lt>, and &false; otherwise.
*Eq
*'''Gt''' - Similar to <lt>, but the current value must be ''greater than'' the contents of <gt>.
*Neq
*'''Eq''' - The new property value is &true; if the current value is equal to the contents of <eq>, and &false; otherwise.
*Min
*'''Neq''' - Similar to <eq>, but the current value must be ''unequal'' to the contents of <neq>.
*Max
 
== Comparative Operators ==
*'''Min''' - The new value is the greater of the current value and the contents of <min>
*'''Max''' - The new value is the lesser of the current value and the contents of <max>


[[Category:Oblivion XML]]
[[Category:Oblivion XML]]
Anonymous user