Garry's Mod Wiki

Revision Difference

Entity:PassesFilter#514609

<function name="PassesFilter" parent="Entity" type="classfunc">⤶ <description>⤶ Tests whether the entity passes the entity filter.⤶ ⤶ This will call <page>ENTITY:PassesFilter</page> on scripted entities of the type "filter".⤶ ⤶ <note>This function only works on entities of the type "filter". ( filter_* entities, including base game filter entites )</note>⤶ </description>⤶ <realm>Server</realm>⤶ <args>⤶ <arg name="caller" type="Entity">The initiator of the test.&#xA;&#xA;For example the trigger this filter entity is used in.</arg>⤶ <arg name="ent" type="Entity">The entity to test against the entity filter.</arg>⤶ </args>⤶ <rets>⤶ <ret name="" type="boolean">Whether the entity info passes the entity filter.</ret>⤶ </rets>⤶ </function>⤶ ⤶