Garry's Mod Wiki

Garry's Mod Wiki

  boolean Entity:PassesDamageFilter( CTakeDamageInfo dmg )

Description

Tests whether the damage passes the entity filter.

This will call ENTITY:PassesDamageFilter 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

1 CTakeDamageInfo dmg
The damage info to test

Returns

1 boolean
Whether the damage info passes the entity filter.

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated four times a day. Edits and history are not available.

Last Parsed: Loading...