Logic multicompare: Difference between revisions
Jump to navigation
Jump to search
m (Categorized) |
mNo edit summary |
||
Line 6: | Line 6: | ||
Compares a set of inputs to each other. If they are all the same, fires an OnEqual output. If any are different, fires the OnNotEqual output. | Compares a set of inputs to each other. If they are all the same, fires an OnEqual output. If any are different, fires the OnNotEqual output. | ||
== | ==Keyvalues== | ||
* | * {{kv targetname}} | ||
* '''IntegerValue''' | |||
* ''' | : <integer> Initial integer value. | ||
* '''ShouldComparetoValue''' | |||
* ''' | : {{boolean}} If set, compare inputs against '''IntegerValue'''. | ||
===Inputs=== | ===Inputs=== | ||
* | * {{i targetname}} | ||
* '''InputValue <integer>''' | * '''InputValue <integer>''' | ||
: Input value | |||
* '''CompareValues''' | * '''CompareValues''' | ||
: Compares the values and fires appropriate outputs | |||
===Outputs=== | ===Outputs=== | ||
* | * {{o targetname}} | ||
* '''OnEqual''' | * '''OnEqual''' | ||
: Fires if the values are equal | |||
* '''OnNotEqual''' | * '''OnNotEqual''' | ||
: Fires if the values are not equal | |||
[[Category:Entities]] | [[Category:Entities]] |
Revision as of 22:12, 11 July 2005
Entity Description
Entity Name: logic_multicompare
Compares a set of inputs to each other. If they are all the same, fires an OnEqual output. If any are different, fires the OnNotEqual output.
Keyvalues
- Template:Kv targetname
- IntegerValue
- <integer> Initial integer value.
- ShouldComparetoValue
- <boolean> If set, compare inputs against IntegerValue.
Inputs
- Template:I targetname
- InputValue <integer>
- Input value
- CompareValues
- Compares the values and fires appropriate outputs
Outputs
- Template:O targetname
- OnEqual
- Fires if the values are equal
- OnNotEqual
- Fires if the values are not equal