Difference between revisions of "Operator Element"
Jump to navigation
Jump to search
→Boolean Operators: Added <and>, <or>, <not>.
imported>Low Post (→Comparative Operators: Swapped descriptions for min & max. I know this doesn't make sense to have them that way around, but that's how it is. Example: hud_main_menu.xml (the status bars-part).) |
imported>Low Post (→Boolean Operators: Added <and>, <or>, <not>.) |
||
Line 78: | Line 78: | ||
*'''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;. | *'''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;. | ||
*'''Onlyifnot''' - Similar to <onlyif>, but with the opposite pairing. | *'''Onlyifnot''' - Similar to <onlyif>, but with the opposite pairing. | ||
*'''And''' - The new property value is &true; if the contents of <and> ''and'' the current property value both evaluate to &true;, and &false; if at least one of them evaluates to &false;. | |||
*'''Or''' - The new property value is &true; if the contens of <or> ''or'' the current property value (or both) evaluates to &true;, and &false; if both of them evaluate to &false;. | |||
*'''Not''' - The new property value is &true; if the contents of <not> evaluate to &false;, and &false; if the contents evaluate to &true;. | |||
*'''Lt''' - The new property value is &true; if the current value is less than the contents of <lt>, and &false; otherwise. | *'''Lt''' - The new property value is &true; if the current value is less than the contents of <lt>, and &false; otherwise. | ||
*'''Lte''' - Similar to <lt>, but the current value can be lesser than or equal to the contents of <lte>. | *'''Lte''' - Similar to <lt>, but the current value can be lesser than or equal to the contents of <lte>. |