Logic Entity Save Support

LogicCompare

Holds two float values and compares them, firing an output for the result.

Properties

Name Type Description
Initial Value Float The starting value of the first operand.
Initial Comparison Value Float The starting value of the second operand that the first is compared against.

Inputs

Name Parameter Description
SetValue Float Sets the first value.
SetComparison Float Sets the second value that the first will be compared against.
Compare Performs the comparison and fires the appropriate output. Does not change either value.

Outputs

Name Pass Variables Description
OnGreaterThan !value !comparison Fires if the first value is greater than the second.
OnLessThan !value !comparison Fires if the first value is less than the second.
OnEqualTo !value !comparison Fires if the first value equals the second.
OnNotEqualTo !value !comparison Fires if the first value does not equal the second.

Pass variable details:

!value The current first value at the time of comparison.
!comparison The current second value at the time of comparison.
!value The current first value at the time of comparison.
!comparison The current second value at the time of comparison.
!value The current first value at the time of comparison.
!comparison The current second value at the time of comparison.
!value The current first value at the time of comparison.
!comparison The current second value at the time of comparison.

Notes

Both values are saved and restored across saves, so a compare entity that has had its values changed at runtime will remember those changes after a load.