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
//---
	if (base.isClient)
	{
		return;
	}
	SetFlag(Flags.Reserved5, TOD_Sky.Instance.IsNight);
	if (Interface.CallHook("OnBradleyApcThink", this) != null || !DoAI)
	{
		return;
	}
	SetTarget();
	if (mountingScientists || inDeployedState)
//---

Released under the MIT License.