Entity:DispatchTraceAttack

From Garry's Mod
Jump to: navigation, search
 Entity:DispatchTraceAttack( )

Contents

Description

Performs a trace attack.

Arguments

CTakeDamageInfo damageInfo

The damage to apply.

Arguments

table traceRes

Trace result to use to deal damage. See TraceResult structure

Arguments

Vector dir=traceRes.HitNormal

Direction of the attack.
Personal tools
Navigation