Logic multicompare: Difference between revisions
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
		
	
| m (→Outputs:  {{activator}}) | |||
| Line 25: | Line 25: | ||
| * {{o targetname}} | * {{o targetname}} | ||
| * '''OnEqual''' | * '''OnEqual''' | ||
| : Fires if the values are equal | : Fires if the values are equal. {{activator|activator}} | ||
| * '''OnNotEqual''' | * '''OnNotEqual''' | ||
| : Fires if the values are not equal | : Fires if the values are not equal. {{activator|activator}} | ||
| [[Category:Entities]] | [[Category:Entities]] | ||
Revision as of 20:09, 16 April 2006
Entity Description
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. (!activator is the activator)
- OnNotEqual
- Fires if the values are not equal. (!activator is the activator)
