Garry's Mod Wiki

Entity:PassesDamageFilter

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.

Page Links


Special Pages


Wikis

?

Render Time: 69ms

DB GetPage 45
Generate Html 1
SaveChanges (1) 9
Render Body 0
Render Sidebar 12