Although i studied the manual, i am afraid i don't understand how works the c_scan.
For example, what does do this: mydist=c_scan(camera.x,camera.pan,vector(12,12,200),IGNORE_ME|SCAN_ENTS);
I think, based on the manual this will not detect an entity if the c_scan doesn't see the object's origin.
And if i increase the range, the situation will be the same, if the origin is not in the cone. Fix me, if the range is not the difference between the camera and the entity.
And yes, i need a cone.