Difference between revisions of "Operator Element"

Jump to navigation Jump to search
6 bytes removed ,  16:17, 8 April 2010
m
imported>JRoush
imported>JRoush
Line 2: Line 2:
Operator Elements are a subgroup of the elements in the [[:Category: Oblivion XML|Oblivion XML]] schema, always found as children of [[Property Element]]s.  They are used to create mathematical formulas, which the game engine evaluates in real time to get the property value.
Operator Elements are a subgroup of the elements in the [[:Category: Oblivion XML|Oblivion XML]] schema, always found as children of [[Property Element]]s.  They are used to create mathematical formulas, which the game engine evaluates in real time to get the property value.


There is pretty much an Operator Element for every basic mathematical operator - at least of or every operator that takes two operands. The first operand is always the current value of the property (i.e. whatever the value was the ''previous'' frame).
There is pretty much an Operator Element for every basic mathematical operator - at least every operator that takes two operands. The first operand is always the current value of the property (i.e. whatever the value was the ''previous'' frame).
If the operator contains a literal number or string, that is used as the second operand.  For example:
If the operator contains a literal number or string, that is used as the second operand.  For example:
  <image>
  <image>
Anonymous user

Navigation menu