Garry's Mod Wiki

History for Entity:DispatchTraceAttack

Revision Difference


<function name="DispatchTraceAttack" parent="Entity" type="classfunc"> <description> Performs a trace attack. <warning>Calling this function on the victim entity in <page>ENTITY:OnTakeDamage</page> can cause infinite loops.</warning> </description> <realm>Shared</realm> <args> <arg name="damageInfo" type="CTakeDamageInfo">The damage to apply.</arg> <arg name="traceRes" type="table">Trace result to use to deal damage. See &lt;page&gt;TraceResult&lt;/page&gt;</arg> <arg name="dir" type="Vector" default="traceRes.HitNormal">Direction of the attack.</arg> </args> </function>

Special Pages



Render Time: 21ms

DB GetPage 3
Get RevNew 3
Get RevOld 7
Render Body 0
Render Sidebar 6