Talk:Operator Element

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search

There are a number of operators that aren't listed here. I suppose it would be a good idea to add them at some point, but it's important to test them all first (to make sure they don't behave oddly, as so many things in Oblivion do) JRoush 12:08, 19 December 2009 (EST)

Added and/or/not. All do what you expect them to do. :)
Not sure if this is just sth. I notice here (using MenuQue), but this doesn't seem to be correct:
but any number other than 2 will be considered false.
This is true for <onlyif>/<onlyifnot>/<and>/<or>/<not>, but in property elements it's the other way around (any number that is not 1 is treated as &true;).Low Post 14:14, 9 April 2011 (EDT)

Did some test about <floor> and <ceil>. Didn't find out what they do if you specify them empty (e.g. <floor/>), but when specified with a Numeric inside them (e.g. <floor> 0 </floor>) they first go down(floor)/up(ceil) to the next property value and then add its contents to the property value. Since I think this is one of the above mentioned oddly behaviour I didn't add it to the main page. Waiting for confirmation. Low Post 11:16, 16 April 2011 (EDT)

Operators that haven't been explained[edit source]

  • trunc
  • ln
  • log
  • floor
  • ceil
  • abs