Skip to content

OnHelicopterRetire

Usage

  • Return a non-null value to override default behavior

Example Autogenerated

csharp
private void OnHelicopterRetire( PatrolHelicopterAI instance )
{
    Puts( "OnHelicopterRetire works!" );
}

Location

  • PatrolHelicopterAI::Retire()
csharp
//---
{
	if (this.isRetiring)
	{
		return;
	}
	if (Interface.CallHook("OnHelicopterRetire", this) != null)
	{
		return;
	}
	base.Invoke(new Action(this.DestroyMe), 240f);
	float x = TerrainMeta.Size.x;
//---

Released under the MIT License.