Instead of having several ray sensors each set to look for a specific property, I would like to have one ray sensor that looks at everything and have python decide what to do with what is hit based on the property.
So something like this:
sensor = cont.sensors["Ray"] if sensor.positive: trigger = sensor.hitObject if trigger.(whatever would determine if it has the property): # do something if trigger.(another property): # do something else