filter_activator_player_infection

From Valve Developer Community
Jump to navigation Jump to search
English (en)Translate (Translate)

filter_activator_player_infection is a logical entity available in No More Room in Hell No More Room in Hell.

Entity Description

The filter_activator_player_infection is a logical entity which passes when a Survivor is Infected, or optionally, when the activator is not a player.

KeyValues

Name (targetname) <string>
The name that other entities refer to this entity by.
Entity Scripts (vscripts) <string>
Name(s) of script files that are executed after all entities have spawned.
Script think function (thinkfunction) <string>
Name of a function in this entity's script scope which will be called automatically.
Filter mode (Negated) <choices>
If set to Allow, only entities who match the criteria will pass the filter. If set to Disallow, only entities who do NOT match the criteria will pass the filter.
Pass Non-players? (passnonplayers) <choices>
If set, entities that are not players will pass this filter.
Pass Causer? (passcauser) <choices>
If set, entity that is set as 'causer' via caller's SetCauser input will pass this filter.

Flags

Inputs

Kill
Kills the entity.
TestActivator
Tests the entity that called the input (the !activator) against the filter, and fires either the OnPass or OnFail output.

Outputs

OnPass
Fires when a player drops this weapon.
OnFail
Fires when a player picks up this weapon.
OnUser1 to OnUser4
Fired in response to the FireUser inputs.