I forgot to mention enable_scan is set to both enemies and player and i have set scan_limit flag of c_scan. Still not working