Das hat Slin im Grunde schon beantwortet, lies es im Handbuch nochmal genauer nach, immerhin ist c_scan eine der komplexeren Funktionen der Engine:
c_scan gibt den Pointer auf die _nächste_ - das heißt wirklich, die am nächsten zur Scan-Position stehende Entity - wieder.

Quote:
Returns:
Distance to closest object found, or 0 if no object was found.
Modifies:
you Pointer to the closest detected entity.
result Distance to the closest detected object.
target Position of the closest detected object.
bounce Direction to the closest detected camera position.
tex_color Color of the closest detected static light.