Determining if an Actor is Visible to The Camera

If I have an effect that I want to highlight actors (ai characters) if they are visible to the players camera, how can I determine who is visible?

I could get a list of all dawn actors or whatever, but is that accurate enough?


You could try using a trace for objects from the camera to determine if an ai character was hit.