Skip to content

OnBradleyApcThink

Usage

  • Return a non-null value to override default behavior

Example Autogenerated

csharp
private void OnBradleyApcThink( BradleyAPC instance )
{
    Puts( "OnBradleyApcThink works!" );
}

Location

  • BradleyAPC::DoSimpleAI()
csharp
//---
	if (base.isClient)
	{
		return;
	}
	base.SetFlag(BaseEntity.Flags.Reserved5, TOD_Sky.Instance.IsNight, false, true);
	if (Interface.CallHook("OnBradleyApcThink", this) != null)
	{
		return;
	}
	if (!this.DoAI)
	{
//---

Released under the MIT License.