Logic multicompare: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
Line 2: Line 2:


==Entity Description==
==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.
[[Image:{{PAGENAME}}|right]]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.{{clr}}


==Keyvalues==
==Keyvalues==

Revision as of 22:33, 29 March 2006

Template:Wrongtitle

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

<integer> Initial integer value.
  • ShouldComparetoValue
<boolean> If set, compare inputs against IntegerValue.

Inputs

Input value
  • CompareValues
Compares the values and fires appropriate outputs

Outputs

Fires if the values are equal
  • OnNotEqual
Fires if the values are not equal