Logic coop manager: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{{ | {{base point|logic_coop_manager|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 buttons, switches, etc. | ||
==Keyvalues== | ==Keyvalues== | ||
{{KV|Default State 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| | |||
{{KV Targetname}} | {{KV Targetname}} | ||
Revision as of 10:59, 28 June 2011
Template:Base point 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 buttons, switches, etc.
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
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