//------------------------------------------------------------ // determines if there is a transmitter to attack //------------------------------------------------------------ bool AssessHostile() { if (killConfirmTimer > 0f) { return(true); } target = eyes.Scan(); return(target != null && target.IsValidTarget()); }