ENTITY:PassesDamageFilter

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

Description

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

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

Arguments

CTakeDamageInfo dmg

Damage to test.

Returns

boolean

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