Difference between revisions of "Talk:Operator Element"
Jump to navigation
Jump to search
imported>Kyoma |
imported>Low Post (some thought about <floor>/<ceil>) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
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) [[User:JRoush|JRoush]] 12:08, 19 December 2009 (EST) | 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) [[User:JRoush|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_Element|property elements]] it's the other way around (any number that is not 1 is treated as &true;).[[User:Low Post|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. [[User:Low Post|Low Post]] 11:16, 16 April 2011 (EDT) | |||
=== Operators that haven't been explained === | === Operators that haven't been explained === | ||
*trunc | *trunc | ||
*ln | *ln | ||
*log | *log | ||
*floor | *floor | ||
*ceil | *ceil | ||
*abs | *abs |
Latest revision as of 10:16, 16 April 2011
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