Logic multicompare: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 14: Line 14:
: {{boolean}} If set, compare inputs against '''IntegerValue'''.
: {{boolean}} If set, compare inputs against '''IntegerValue'''.


 
==Inputs==
===Inputs===


* {{i targetname}}
* {{i targetname}}
Line 23: Line 22:
: Compares the values and fires appropriate outputs
: Compares the values and fires appropriate outputs


 
==Outputs==
===Outputs===


* {{o targetname}}
* {{o targetname}}

Revision as of 22:12, 11 July 2005

Template:Wrongtitle

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.

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