Garry's Mod Wiki


boolean Entity:PassesFilter( Entity caller, Entity ent )


Tests whether the entity passes the entity filter.

This will call ENTITY:PassesFilter on scripted entities of the type "filter".

This function only works on entities of the type "filter". ( filter_* entities, including base game filter entites )


1 Entity caller
The initiator of the test.

For example the trigger this filter entity is used in.

2 Entity ent
The entity to test against the entity filter.


1 boolean
Whether the entity info passes the entity filter.

Page Links

Special Pages



Render Time: 34ms

DB GetPage 4
Generate Html 7
SaveChanges (1) 9
Render Body 0
Render Sidebar 11