Skip to content

CanBradleyApcTarget

Usage

  • Return a bool value to override default behavior

Example Autogenerated

csharp
private bool? CanBradleyApcTarget( BradleyAPC instance, BaseEntity ent )
{
    Puts( "CanBradleyApcTarget works!" );
    return null;
}

Location

  • BradleyAPC::VisibilityTest(BaseEntity ent)
csharp
//---
	else
	{
		Debug.LogWarning("Standard vis test!");
		flag = IsVisible(ent.CenterPoint());
	}
	object obj = Interface.CallHook("CanBradleyApcTarget", this, ent);
	if (obj is bool)
	{
		return (bool)obj;
	}
	return flag;
//---

Released under the MIT License.