Skip to content

OnImpactEffectCreate

Usage

  • Return a non-null value or bool to override default behavior

Example Autogenerated

csharp
private void OnImpactEffectCreate( HitInfo info )
{
    Puts( "OnImpactEffectCreate works!" );
}

Location

  • Effect/server::ImpactEffect(HitInfo info)
csharp
public static void ImpactEffect(HitInfo info)
{
	if (Interface.CallHook("OnImpactEffectCreate", info) != null)
	{
		return;
	}
	if (!info.DoHitEffects)
	{
//---

Released under the MIT License.