Skip to content

OnHelicopterAttack

Usage

  • Return a non-null value to override default behavior

Example Autogenerated

csharp
private void OnHelicopterAttack( CH47HelicopterAIController instance, HitInfo info )
{
    Puts( "OnHelicopterAttack works!" );
}

Location

  • CH47HelicopterAIController::OnAttacked(HitInfo info)
csharp
public override void OnAttacked(HitInfo info)
{
	if (Interface.CallHook("OnHelicopterAttack", this, info) != null)
	{
		return;
	}
	base.OnAttacked(info);
	this.InitiateAnger();
//---

Released under the MIT License.