Logic multicompare: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
Line 2: Line 2:


==Entity Description==
==Entity Description==
[[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}}
[[Image:{{PAGENAME}}.png|right]]Compares a set of inputs to each other. If they are all the same, fires an [[#Outputs|OnEqual output]]. If any are different, fires the [[#Outputs|OnNotEqual output]].{{clr}}


==Keyvalues==
==Keyvalues==

Revision as of 22:33, 29 March 2006

Template:Wrongtitle

Entity Description

Logic multicompare.png

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