Please could you do some magic and give us an update to cheer up our week pulling our hair out, i'm almost bald!
Thanks bud!

Thanks bud!


object OnTurretTarget(AutoTurret turret, BaseCombatEntity entity)
{
Puts("OnTurretTarget works!");
return null;
}When it losing player sight, it sets target to null (so entity became null). Are you sure its a bug?public void TargetTick()
{
... code here ...
this.SetTarget((BaseCombatEntity) null);
}
public void SetTarget(BaseCombatEntity targ)
{
if (Interface.CallHook("OnTurretTarget", (object) this, (object) targ) != null) // here it calles
return;
... code here ...
}