Logic coop manager

From Valve Developer Community
Revision as of 09:43, 7 February 2024 by NOUG4AT (talk | contribs) (NOUG4AT moved page Logic coop manager to Logic coop manager/en)
Jump to navigation Jump to search

KeyValues

Default State A ([todo internal name (i)]) <boolean>
The default state of A
Default State B ([todo internal name (i)]) <boolean>
The default state of B
Name (targetname) <string>[ Edit ]
The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g. parentname or target).
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