Logic multicompare: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Reverted edit of NoorrOacri, changed back to last version by Beeswax)
m (Robot: fixing template case.)
Line 16: Line 16:
==Inputs==
==Inputs==


* {{i targetname}}
* {{I Targetname}}
* '''InputValue <integer>'''
* '''InputValue <integer>'''
: Input value
: Input value

Revision as of 19:34, 19 January 2009

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

  • InputValue <integer>
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)