Logic multicompare: Difference between revisions

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


==Entity Description==
==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.
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.



Revision as of 09:22, 12 July 2005

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