Action triggered by proximity of camera?

Hi there,

I was wondering if in the GE an action could be triggered when something non-physical like a light or a camera gets within a certain distance of an object?

I think , yes - lamps and cameras in blender are objects ,so you can getDistance to them with Python.