Db filter marble

From Valve Developer Community
Revision as of 10:30, 16 July 2009 by Craziestdan (talk | contribs) (/)
Jump to: navigation, search

Template:Wrongtitle

Entity Description

Filter marble.gif

A filter that filters the marble (player).

Keyvalues

  • Name
The name that other entities refer to this entity by.
  • Filter mode
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.

Inputs

  • BaseFilter:
TestActivator
Tests the entity that called the input (the !activator) against the filter, and fires either the OnPass or OnFail output.
Bug.png Bug: Calling this input will cause the server to crash if the !activator entity no longer exists. Do not use this input to test any entities which may be asynchronously deleted, such as players or projectiles, or in an i/o chain which might be initiated by entity deletion, such as the OnEndTouch output of a trigger.

Outputs

  • BaseFilter:
OnPass
OnFail
One of these will fire when TestActivator input is sent, depending on if the activator is allowed by the filter or not.

See also