Logic branch listener

From Valve Developer Community
Jump to navigation Jump to search

Template:Base point

Entity description

It contains a list of logic_branch entities and fires outputs when the state of any of the logic_branches changes. This entity is used to fire an event when a set of conditions are all satisfied.

Keyvalues

Logic Branch 01 ([todo internal name (i)]) to Logic Branch 16 <targetname>
The names of the logic_branch entities to which this entity "listens". If there are fewer than sixteen, fill them in starting at the lowest number and working up and leave the unused ones blank. Wildcards are allowed in the targetnames.

Inputs

Test
Tests the state of all the logic_branches in the list and fires the appropriate output.


Outputs

OnAllTrue
Fired when all the logic_branches in the list become true.
OnAllFalse
Fired when all the logic_branches in the list become false.
OnMixed
Fired when one of the logic branches in the list changes, but some are true and some are false.