Difference between revisions of "Filter activator mass greater"

From Valve Developer Community
Jump to: navigation, search
m (Robot: fixing template case.)
m (Interesting... http://dkreuter.thruhere.net/projects/vmfsearch/)
Line 3: Line 3:
  
 
==Entity Description==
 
==Entity Description==
[[Image:Filter class.png|left]]A filter that filters by the mass of the activator.{{clr}}
+
[[Image:Filter class.png|left]]A filter that filters by the mass of the activator. This entity isn't used in Episode 2 maps. {{clr}}
  
 
==Keyvalues==
 
==Keyvalues==

Revision as of 17:08, 22 February 2010

Template:Wrongtitle

filter_activator_mass_greater is a point entity available in all Orange Box games.

Entity Description

Filter class.png
A filter that filters by the mass of the activator. This entity isn't used in Episode 2 maps.

Keyvalues

  • BaseFilter:
Filter mode (Negated) <boolean>
Inverts the filter, making the specified criteria fail and all others pass.
  • filtermass
<float> The mass to filter by. If the filter mode is Allow, only entities whose mass is greater than the give float will pass the filter. If the filter mode is Disallow, all entities EXCEPT those whose mass is greater than the given float 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: 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.