db_filter_marble

From Valve Developer Community
Jump to: navigation, search
Filter marble.gif

db_filter_marble is a point entity available in Dreamball Dreamball.}

Entity Description

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.
Note.pngNote:This entity automatically knows the marble so there's no need to have a filter name.

Inputs

  • BaseFilter:
TestActivator
Tests the entity that called the input (the !activator) against the filter, and fires either the OnPass or OnFail output.
Icon-Bug.pngBug: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.  [todo tested in?]

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