Setting up line tracing with multiple enemies?

Many thanks for this!