OnTurretTarget
Usage
- Return a non-null value to override default behavior
Example Autogenerated
csharp
private void OnTurretTarget( AutoTurret instance, BaseCombatEntity targ )
{
Puts( "OnTurretTarget works!" );
}
Location
- AutoTurret::SetTarget(BaseCombatEntity targ)
csharp
public void SetTarget(BaseCombatEntity targ)
{
if (Interface.CallHook("OnTurretTarget", this, targ) != null)
{
return;
}
if (targ != this.target)
{
//---