Logic multicompare: Difference between revisions
Jump to navigation
Jump to search
m (Robot: fixing template case.) |
m (Robot: fixing template case.) |
||
Line 24: | Line 24: | ||
==Outputs== | ==Outputs== | ||
* {{ | * {{O Targetname}} | ||
* '''OnEqual''' | * '''OnEqual''' | ||
: Fires if the values are equal. {{activator|activator}} | : Fires if the values are equal. {{activator|activator}} | ||
* '''OnNotEqual''' | * '''OnNotEqual''' | ||
: Fires if the values are not equal. {{activator|activator}} | : Fires if the values are not equal. {{activator|activator}} |
Revision as of 20:07, 19 January 2009
Template:Wrongtitle Template:Base point
Entity Description
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
- Name (targetname) <string>[ Edit ]
- The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g.
parentname
ortarget
).
Also displayed in Hammer's 2D views and Entity Report.See also: Generic Keyvalues, Inputs and Outputs available to all entities
- IntegerValue
- <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
- OnEqual
- Fires if the values are equal. (!activator is the activator)
- OnNotEqual
- Fires if the values are not equal. (!activator is the activator)