Logic multicompare: Difference between revisions

From Valve Developer Community
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

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