Skip to content

OnBradleyApcThink

Usage

  • Return a non-null value to override default behavior

Example Autogenerated

csharp
private object OnBradleyApcThink( BradleyAPC instance )
{
    Puts( "OnBradleyApcThink works!" );
    return null;
}

Location

  • BradleyAPC::DoSimpleAI()
csharp
//---
	}
	using (FlagsUpdateScope flagsUpdateScope = StartSetFlags(FlagsUpdateMode.SendNetworkUpdate))
	{
		flagsUpdateScope.Set(Flags.Reserved5, TOD_Sky.Instance.IsNight);
	}
	if (Interface.CallHook("OnBradleyApcThink", this) != null || !DoAI)
	{
		return;
	}
	SetTarget();
	if (mountingScientists || inDeployedState)
//---

Released under the MIT License.