Logic multicompare: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (→‎Outputs: {{activator}})
mNo edit summary
Line 1: Line 1:
{{wrongtitle|title=logic_multicompare}}
{{wrongtitle|title=logic_multicompare}}
{{base_point}}


==Entity Description==
==Entity Description==
Line 28: Line 29:
* '''OnNotEqual'''
* '''OnNotEqual'''
: Fires if the values are not equal. {{activator|activator}}
: Fires if the values are not equal. {{activator|activator}}
[[Category:Entities]]

Revision as of 15:13, 12 April 2008

Template:Wrongtitle Template:Base point

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. (!activator is the activator)
  • OnNotEqual
Fires if the values are not equal. (!activator is the activator)