Artificial Intelligence

I'm trying to figure out how to tell an actor to respond to the Player 1 actor when Player 1 gets close enough to him. I've thought of the actor to spawn these (invisible)rays, and when Player 1 hits the rays, the actor will respond to it. Unfortunately, I'm not sure what combination of attributes is needed. Is this a viable option? And if so, what attributes are needed? PLEASE help!
Comments