ENTITY:PassesFilter

From Garry's Mod
Jump to: navigation, search
 ENTITY:PassesFilter( )

Contents

Description

Called by Entity:PassesFilter and engine entities to determine whether an entity passes this filter's filter.

NOTE This hook only works for "filter" type SENTs.

Arguments

Entity trigger

The 'caller' entity, the one that wants to know if the entity passes the filter

Arguments

Entity ent

The entity in question that is being tested

Returns

boolean

Whether the entity passes the filter ( true ) or not ( false )
Personal tools
Navigation