Entity:PassesFilter
Description
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 )
Arguments
Returns
Example
Ready-to-use entity for controlling Hammer entities through Lua (for example for trigger_teleport
). This entity works like a CRecipientFilter: filter has a list of allowed and not allowed entities for each trigger. Note, you can add not only players.