Revision Difference
Entity:DispatchTraceAttack#515770
<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 <page>TraceResult</page></arg>⤶
		<arg name="dir" type="Vector" default="traceRes.HitNormal">Direction of the attack.</arg>⤶
	</args>⤶
</function>⤶
⤶
 Garry's Mod
			Garry's Mod 
		 Rust
			Rust 
		 Steamworks
			Steamworks 
		 Wiki Help
			Wiki Help