Logic coop manager: Difference between revisions
Jump to navigation
Jump to search

m (Replacing {{base point}} with {{this is a}}. This operation was performed by a bot.) |
0xgreyhound (talk | contribs) m (→KeyValues) |
||
Line 5: | Line 5: | ||
{{KV|Default State A|bool|The default state of A}} | {{KV|Default State A|bool|The default state of A}} | ||
{{KV|Default State B|bool|The default state of B}} | {{KV|Default State B|bool|The default state of B}} | ||
{{KV | {{KV </name>(1)}} | ||
==Inputs== | ==Inputs== |
Revision as of 09:34, 7 February 2024



logic_coop_manager
is a point entity available in all Source games since
Alien Swarm. It manages two sets of values and can fire outputs based on the state of those values. Useful in coop where you can have players independently setting states on different buttons, switches, etc.
KeyValues
{{KV </name>(1)}}
Inputs
- SetStateATrue
- Set State A to TRUE
- SetStateAFalse
- Set State A to FALSE
- ToggleStateA
- Toggle State A
- SetStateBTrue
- Set State B to TRUE
- SetStateBFalse
- Set State B to FALSE
- ToggleStateB
- Toggle State B
Outputs
- OnChangeToAllTrue
- Fires when ALL of the values change to TRUE for the first time
- OnChangeToAnyTrue
- Fires when ANY of the values change to TRUE for the first time
- OnChangeToAllFalse
- Fires when ALL of the values change to FALSE for the first time
- OnChangeToAnyFalse
- Fires when ANY of the values change to FALSE for the first time